#234 Removed superfluous if - ClassOrInterfaceDeclaration can only be of one the two types that were being checked for