From d57fac1920384a9ea4dd7c8412374032e1bc833e Mon Sep 17 00:00:00 2001 From: Tagir Valeev Date: Fri, 3 Jan 2025 12:32:25 +0100 Subject: [PATCH] [java] Message fixed GitOrigin-RevId: 0d4835cfe430c37dafca828ba825a9afc95a103d --- .../resources/messages/JavaErrorBundle.properties | 2 +- .../daemonCodeAnalyzer/annotations/typeAnnotations.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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;