"finally without try" reporting fixed

This commit is contained in:
Roman Shevchenko
2010-07-30 20:26:27 +04:00
parent 2a0f9ec378
commit 487f40c3f5
@@ -252,7 +252,7 @@ public class StatementParsing extends Parsing {
else if (tokenType == JavaTokenType.CATCH_KEYWORD){
error = JavaErrorMessages.message("catch.without.try");
}
else if (tokenType == JavaTokenType.FINAL_KEYWORD){
else if (tokenType == JavaTokenType.FINALLY_KEYWORD){
error = JavaErrorMessages.message("finally.without.try");
}
else{