From e985705e03a30fc37705913dbed500f974800857 Mon Sep 17 00:00:00 2001 From: Tagir Valeev Date: Thu, 30 Jan 2025 18:14:18 +0100 Subject: [PATCH] [java-highlighting] JavaErrorBundle.properties: migrated properties removed Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: 0f50893e525ea81ed43e90503f4ab7514cb11979 --- .../resources/messages/JavaErrorBundle.properties | 7 ------- 1 file changed, 7 deletions(-) diff --git a/java/java-psi-impl/resources/messages/JavaErrorBundle.properties b/java/java-psi-impl/resources/messages/JavaErrorBundle.properties index bcde9be16f33..34450fe799f2 100644 --- a/java/java-psi-impl/resources/messages/JavaErrorBundle.properties +++ b/java/java-psi-impl/resources/messages/JavaErrorBundle.properties @@ -12,15 +12,12 @@ generics.wrong.number.of.type.arguments=Wrong number of type arguments: {0}; req generics.methods.have.same.erasure={0}; both methods have same erasure generics.methods.have.same.erasure.override={0}; both methods have same erasure, yet neither overrides the other generics.methods.have.same.erasure.hide={0}; both methods have same erasure, yet neither hides the other -generics.type.parameter.cannot.be.instantiated=Type parameter ''{0}'' cannot be instantiated directly generics.type.argument.cannot.be.of.primitive.type=Type argument cannot be of primitive type generics.unchecked.assignment=Unchecked assignment: ''{0}'' to ''{1}'' generics.unchecked.cast=Unchecked cast: ''{0}'' to ''{1}'' generics.unchecked.call.to.member.of.raw.type=Unchecked call to ''{0}'' as a member of raw type ''{1}'' generics.unchecked.call=Unchecked method ''{0}'' invocation -illegal.to.access.static.member.from.enum.constructor.or.instance.initializer=Accessing {0, choice, 1#static field|2#enum constant} from enum {1, choice, 1#constructor|2#instance field initializer|3#instance initializer} is not allowed unsafe.cast.in.instanceof=''{0}'' cannot be safely cast to ''{1}'' -cannot.select.dot.class.from.type.variable=Cannot access class object of a type parameter modifiers.for.enum.constants=No modifiers allowed for enum constants unchecked.overriding.incompatible.return.type=Unchecked overriding: return type requires unchecked conversion. Found ''{0}'', required ''{1}'' @@ -215,7 +212,6 @@ expected.class.or.package=Expected class or package suspicious.name.assignment=''{0}'' should probably not be assigned to ''{1}'' suspicious.name.parameter=''{0}'' should probably not be passed as parameter ''{1}'' suspicious.name.return=''{0}'' should probably not be returned from method ''{1}'' -generic.extend.exception=Generic class may not extend 'java.lang.Throwable' cannot.resolve.package=Cannot resolve package {0} declaration.not.allowed=Declaration not allowed here @@ -297,9 +293,6 @@ abstract.method.0.cannot.be.accessed.directly.method.reference.context=Abstract bad.type.in.switch.expression=Bad type in switch expression: {0} cannot be converted to {1} switch.expression.cannot.be.void=Target type for switch expression cannot be void annotation.on.static.member.qualifying.type.family.name=Move type annotation -default.method.overrides.object.member=Default method ''{0}'' overrides a member of ''java.lang.Object'' -two.methods.are.inherited.with.same.signature=Methods {0} from {1} and {2} from {3} are inherited with the same signature -cannot.select.from.parameterized.type=Cannot access class object of parameterized type not.allowed.in.sealed.hierarchy=''{0}'' is not allowed in the sealed hierarchy invalid.permits.clause.direct.implementation=Invalid permits clause: ''{0}'' must directly {1, choice, 1#extend|2#implement} ''{2}'' permitted.subclass.must.have.modifier=All sealed class subclasses must either be final, sealed or non-sealed