DeclarationParser: remove "always null" warning

This commit is contained in:
peter
2017-12-01 16:26:44 +01:00
parent 5b9114adb5
commit a2f3cf665c
@@ -278,7 +278,7 @@ public class DeclarationParser {
if (builder.getTokenType() == JavaTokenType.LBRACE) {
if (context == Context.CODE_BLOCK) {
error(builder, JavaErrorMessages.message("expected.identifier.or.type"), typeParams);
error(builder, JavaErrorMessages.message("expected.identifier.or.type"), null);
declaration.drop();
return modList;
}