Minor. Drop dead branch in parser

This commit is contained in:
Denis Zharkov
2015-09-14 13:48:26 +03:00
parent daa2c8372d
commit 3adeb966b5
@@ -554,10 +554,7 @@ public class JetParsing extends AbstractJetParsing {
* ;
*/
private boolean parseAnnotationOrList(AnnotationParsingMode mode) {
if (mode.allowShortAnnotations && at(IDENTIFIER)) {
return parseAnnotation(mode);
}
else if (at(AT)) {
if (at(AT)) {
IElementType nextRawToken = myBuilder.rawLookup(1);
IElementType tokenToMatch = nextRawToken;
boolean isTargetedAnnotation = false;