chances are your previous if statement isn't closed yet:
Here there's a round bracket missing at the end of the if statement:Code:if(methodReturningBoolean(){ //BlaBla } else if (someInteger == someOtherInteger){ //BlaBla }
Code:if(methodReturningBoolean()){ //BlaBla } else if (someInteger == someOtherInteger){ //BlaBla }