extra method getAcceptableTokens was removed

This commit is contained in:
Roman Ivanov 2015-02-08 14:06:51 -08:00
parent abe2b20031
commit a4c5c652f6
1 changed files with 1 additions and 19 deletions

View File

@ -98,25 +98,6 @@ public class EmptyBlockCheck
};
}
@Override
public int[] getAcceptableTokens()
{
return new int[] {
TokenTypes.LITERAL_WHILE,
TokenTypes.LITERAL_TRY,
TokenTypes.LITERAL_CATCH,
TokenTypes.LITERAL_FINALLY,
TokenTypes.LITERAL_DO,
TokenTypes.LITERAL_IF,
TokenTypes.LITERAL_ELSE,
TokenTypes.LITERAL_FOR,
TokenTypes.INSTANCE_INIT,
TokenTypes.STATIC_INIT,
TokenTypes.LITERAL_SWITCH,
//TODO: does this handle TokenTypes.LITERAL_SYNCHRONIZED?
};
}
@Override
public int[] getAcceptableTokens()
{
@ -136,6 +117,7 @@ public class EmptyBlockCheck
TokenTypes.LITERAL_SWITCH,
TokenTypes.LITERAL_DEFAULT,
TokenTypes.ARRAY_INIT,
//TODO: does this handle TokenTypes.LITERAL_SYNCHRONIZED?
};
}