cleanup
[idea/community.git] / java / java-impl / src / com / intellij / codeInsight / daemon / impl / analysis / HighlightVisitorImpl.java
index cf4ca7c941d395f13732bb91a8228bf10dc5a946..fce402f660068be83cd199e196e4e6aff3dd2228 100644 (file)
@@ -181,7 +181,7 @@ public class HighlightVisitorImpl extends JavaElementVisitor implements Highligh
     if (!myHolder.hasErrorResults()) myHolder.add(AnnotationsHighlightUtil.checkAnnotationType(annotation));
     if (!myHolder.hasErrorResults()) myHolder.add(AnnotationsHighlightUtil.checkMissingAttributes(annotation));
     if (!myHolder.hasErrorResults()) myHolder.add(AnnotationsHighlightUtil.checkTargetAnnotationDuplicates(annotation));
-    if (!myHolder.hasErrorResults()) myHolder.add(AnnotationsHighlightUtil.checkDuplicatedAnnotations(annotation));
+    if (!myHolder.hasErrorResults()) myHolder.add(AnnotationsHighlightUtil.checkDuplicateAnnotations(annotation));
   }
 
   @Override public void visitAnnotationArrayInitializer(PsiArrayInitializerMemberValue initializer) {