diff --git a/java/java-psi-impl/resources/messages/JavaErrorBundle.properties b/java/java-psi-impl/resources/messages/JavaErrorBundle.properties index a0b1bba51409..3aa8bb1a7e3e 100644 --- a/java/java-psi-impl/resources/messages/JavaErrorBundle.properties +++ b/java/java-psi-impl/resources/messages/JavaErrorBundle.properties @@ -16,7 +16,7 @@ annotation.cyclic.element.type=Cyclic annotation element type annotation.annotation.type.expected=Annotation type expected annotation.members.may.not.have.throws.list='throws' not allowed on @interface method annotation.may.not.have.extends.list='extends' not allowed on @interface -annotation.not.allowed.ref=Annotation not applicable to this kind of reference +annotation.not.allowed.ref=Annotation is not applicable to this kind of reference annotation.not.allowed.static=Static member qualifying type may not be annotated annotation.not.allowed.void='void' type may not be annotated annotation.not.allowed.var='var' type may not be annotated diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/annotations/typeAnnotations.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/annotations/typeAnnotations.java index 34477bc17358..b44e8979fe81 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/annotations/typeAnnotations.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/annotations/typeAnnotations.java @@ -68,10 +68,10 @@ class Outer { @A Map.@TA Entry e1; @A @TA Map.@TA Entry e2; - @A java.@TA util.Map.@TA Entry e3; - @A @TA java.util.Map.@TA Entry e4; - @A List@TA lang.@TA String> l1; - @A List<@TA java.lang.String> l2; + @A java.@TA util.Map.@TA Entry e3; + @A @TA java.util.Map.@TA Entry e4; + @A List@TA lang.@TA String> l1; + @A List<@TA java.lang.String> l2; Object obj = "str"; @TA String str = (@TA String)obj;