From 44086294882cf7a038ad559729f32b9e508ee996 Mon Sep 17 00:00:00 2001 From: Tagir Valeev Date: Thu, 13 Feb 2025 11:46:42 +0100 Subject: [PATCH] [java-highlighting] JavaErrorBundle.properties: unused properties removed Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: 45cca1bddd32665c8db684aa6457d5b7dc594829 --- .../messages/JavaErrorBundle.properties | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/java/java-psi-impl/resources/messages/JavaErrorBundle.properties b/java/java-psi-impl/resources/messages/JavaErrorBundle.properties index 848d6efda3ab..691c355e2eb2 100644 --- a/java/java-psi-impl/resources/messages/JavaErrorBundle.properties +++ b/java/java-psi-impl/resources/messages/JavaErrorBundle.properties @@ -22,7 +22,6 @@ missing.package.statement=Missing package statement: ''{0}'' missing.package.statement.package.name.invalid=Missing package statement but package name ''{0}'' which corresponds to the file path is invalid missing.return.statement=Missing return statement variable.not.initialized=Variable ''{0}'' might not have been initialized -incompatible.return.type=attempting to use incompatible return type exception.is.never.thrown=Exception ''{0}'' is never thrown in the method cannot.resolve.method=Cannot resolve method ''{0}'' ambiguous.method.call.no.match=Cannot resolve method ''{0}'' in ''{1}'' @@ -31,10 +30,6 @@ overrides.marked.for.removal.method=Overrides method that is deprecated and mark deprecated.default.constructor=Default constructor in ''{0}'' is deprecated marked.for.removal.default.constructor=Default constructor in ''{0}'' is deprecated and marked for removal cannot.resolve.constructor=Cannot resolve constructor ''{0}'' -clash.methods.message=''{0}'' clashes with ''{1}'' -clash.methods.message.show.classes=''{0}'' in ''{2}'' clashes with ''{1}'' in ''{3}'' - -package.clashes.with.class=Package ''{0}'' clashes with class of same name # {0} - colspan, {1} - method1, {2} - class1, {3} - method2, {4} - class2 # {0} - left raw type, {1} - required type arguments row, {2} - right raw type, {3} - found type arguments row, {4} - reason, {5} - greyed title color incompatible.types.html.tooltip=\ @@ -177,7 +172,6 @@ expected.switch.label='case', 'default' or '}' expected expected.switch.rule=Expression, block or throw statement expected error.cannot.resolve.class=Cannot resolve class ''{0}'' error.cannot.resolve.class.or.package=Cannot resolve class or package ''{0}'' -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}'' @@ -193,23 +187,12 @@ module.unwanted.modifier.warn=Modifiers on 'requires java.base' are prohibited i yield.unqualified.method.warn=Unqualified call to 'yield' method is not supported in releases since Java 14 redundant.semicolon.warn=Redundant semicolons between import statements are prohibited starting from Java 21 -module.duplicate.exports.target=Duplicate ''exports'' target: {0} -module.duplicate.opens.target=Duplicate ''opens'' target: {0} -module.duplicate.impl=Duplicate implementation: {0} module.open.duplicate.text=Go to duplicate module.not.found=Module not found: {0} module.ambiguous=Ambiguous module reference: {0} module.not.on.path=Module is not in dependencies: {0} -module.cyclic.dependence=Cyclic dependence: {0} package.not.found=Package not found: {0} package.is.empty=Package is empty: {0} -module.service.enum=The service definition is an enum: {0} -module.service.alien=The service implementation must be defined in the same module as the provides directive -module.service.impl=The service implementation type must be a subtype of the service interface type, or have a public static no-args 'provider' method -module.service.abstract=The service implementation is an abstract class: {0} -module.service.inner=The service implementation is an inner class: {0} -module.service.no.ctor=The service implementation does not have a public default constructor: {0} -module.service.provider.type=The ''provider'' method return type must be a subtype of the service interface type: {0} module.service.unused=Service interface provided but not exported or used module.access.to.unnamed=Package ''{0}'' is declared in the unnamed module, but module ''{1}'' does not read it module.access.from.named=Package ''{0}'' is declared in module ''{1}'', which does not export it to module ''{2}'' @@ -226,8 +209,6 @@ record.canonical.constructor=Canonical constructor record.compact.constructor=Compact constructor insufficient.language.level={0} are not supported at language level ''{1}'' -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 create.class.action.this.not.valid.java.qualified.name=This is not a valid Java qualified name text.class.inherits.abstract.and.default={0} inherits abstract and default for {1} from types {2} and {3}