Java: don't suggest 'final' modifier in error message for interfaces (IDEA-336055)

GitOrigin-RevId: 6023a90b7e15a4154ca030f7cfc175bb1a3d21c7
This commit is contained in:
Bas Leijdekkers
2024-01-04 09:59:07 +01:00
committed by intellij-monorepo-bot
parent f5d8b3f739
commit 6feb5f4628
3 changed files with 13 additions and 6 deletions

View File

@@ -558,7 +558,8 @@ type.parameter.has.incompatible.upper.bounds=Type parameter {0} has incompatible
safevarargs.not.allowed.on.methods.with.fixed.arity=@SafeVarargs is not allowed on methods with fixed arity
safevararg.annotation.cannot.be.applied.for.record.component=@SafeVarargs is not allowed on a record component
functional.interface.must.not.be.sealed.error.description=Functional interface can''t be declared as ''{0}''
sealed.type.inheritor.expected.modifiers={0}, {1} or {2} modifiers expected
sealed.type.inheritor.expected.modifiers=Modifier ''{0}'', ''{1}'' or ''{2}'' expected
sealed.type.inheritor.expected.modifiers2=Modifier ''{0}'' or ''{1}'' expected
not.allowed.in.sealed.hierarchy=''{0}'' is not allowed in the sealed hierarchy
invalid.permits.clause=Invalid permits clause: ''{0}'' must be sealed
invalid.permits.clause.direct.implementation=Invalid permits clause: ''{0}'' must directly {1, choice, 1#extend|2#implement} ''{2}''