mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
DeclarationParser: remove "always null" warning
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user