mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
java: improve some inspection texts
GitOrigin-RevId: 5a0670e84850599d8107f206b76eee1f8f84de17
This commit is contained in:
committed by
intellij-monorepo-bot
parent
57b1788fa5
commit
cfbb00fa01
@@ -495,7 +495,7 @@ readobject.initialization.display.name=Instance field may not be initialized by
|
||||
readobject.initialization.problem.descriptor=Instance field <code>#ref</code> may not be initialized during 'readObject()' call #loc
|
||||
readresolve.writereplace.protected.display.name='readResolve()' or 'writeReplace()' not declared 'protected'
|
||||
readresolve.writereplace.protected.problem.descriptor=<code>#ref()</code> not declared 'protected' #loc
|
||||
missing.serial.annotation.display.name='@Serial' annotation could be used
|
||||
missing.serial.annotation.display.name='@Serial' annotation can be used
|
||||
missing.serial.annotation.on.field.problem.descriptor=<code>#ref</code> can be annotated with '@Serial' annotation
|
||||
missing.serial.annotation.on.method.problem.descriptor=<code>#ref()</code> can be annotated with '@Serial' annotation
|
||||
serial.annotation.used.on.wrong.member.display.name='@Serial' annotation used on wrong member
|
||||
@@ -1243,7 +1243,7 @@ overly.complex.boolean.expression.max.terms.option=Maximum number of terms:
|
||||
pointless.boolean.expression.ignore.option=Ignore named constants in determining pointless expressions
|
||||
simplifiable.conditional.expression.problem.descriptor=<code>{1}</code> can be simplified to ''{0}'' #loc
|
||||
switch.statement.density.min.option=Minimum density of branches: %
|
||||
switch.statement.density.problem.descriptor=<code>#ref</code> has too low of a branch density ({0}%) #loc
|
||||
switch.statement.density.problem.descriptor=<code>#ref</code> branch density is too low ({0}%) #loc
|
||||
switch.statement.with.too.few.branches.min.option=Minimum number of branches:
|
||||
switch.statement.with.too.few.branches.ignore.pattern.option=Do not report pattern switch statements
|
||||
switch.statement.with.too.few.branches.problem.descriptor=''switch'' statement has too few case labels ({0}), and should probably be replaced with an ''if'' statement #loc
|
||||
@@ -1329,7 +1329,7 @@ value.of.post.increment.problem.descriptor=Value of post-increment expression <c
|
||||
value.of.post.decrement.problem.descriptor=Value of post-decrement expression <code>#ref</code> is used #loc
|
||||
value.of.pre.increment.problem.descriptor=Value of pre-increment expression <code>#ref</code> is used #loc
|
||||
value.of.pre.decrement.problem.descriptor=Value of pre-decrement expression <code>#ref</code> is used #loc
|
||||
assignment.replaceable.with.operator.assignment.problem.descriptor=<code>#ref</code> could be simplified to ''{0}'' #loc
|
||||
assignment.replaceable.with.operator.assignment.problem.descriptor=<code>#ref</code> can be simplified to ''{0}'' #loc
|
||||
assignment.replaceable.with.operator.assignment.ignore.conditional.operators.option=Ignore conditional operators
|
||||
assignment.replaceable.with.operator.assignment.ignore.obscure.operators.option=Ignore the obscure ^ and % operators
|
||||
object.equality.ignore.between.objects.of.a.type.with.only.private.constructors.option=Ignore '==' between objects of a type with only 'private' constructors
|
||||
@@ -1349,7 +1349,7 @@ pointless.indexof.comparison.always.true.problem.descriptor=<code>#ref</code> is
|
||||
pointless.indexof.comparison.always.false.problem.descriptor=<code>#ref</code> is always false #loc
|
||||
reuse.of.local.variable.problem.descriptor=Reuse of local variable <code>#ref</code> #loc
|
||||
single.character.startswith.display.name=Single character 'startsWith()' or 'endsWith()'
|
||||
single.character.startswith.problem.descriptor=Single character <code>#ref()</code> could be replaced with 'charAt()' expression #loc
|
||||
single.character.startswith.problem.descriptor=Single character <code>#ref()</code> can be replaced with 'charAt()' expression #loc
|
||||
list.indexof.replaceable.by.contains.display.name='List.indexOf()' expression can be replaced with 'contains()'
|
||||
string.indexof.replaceable.by.contains.display.name='String.indexOf()' expression can be replaced with 'contains()'
|
||||
overloaded.methods.with.same.number.parameters.problem.descriptor=Multiple methods named <code>#ref</code> with the same number of parameters #loc
|
||||
@@ -1520,7 +1520,7 @@ unqualified.method.access.display.name=Instance method call not qualified with '
|
||||
unqualified.method.access.problem.descriptor=Instance method call <code>#ref()</code> is not qualified with 'this' #loc
|
||||
add.this.qualifier.quickfix=Add 'this' qualifier
|
||||
while.loop.spins.on.field.ignore.non.empty.loops.option=Only warn if the loop is empty
|
||||
method.may.be.synchronized.problem.descriptor=Method <code>#ref()</code> with synchronized block could be synchronized method #loc
|
||||
method.may.be.synchronized.problem.descriptor=Method <code>#ref()</code> with synchronized block can be synchronized method #loc
|
||||
method.may.be.synchronized.display.name=Method with single 'synchronized' block can be replaced with 'synchronized' method
|
||||
method.may.be.synchronized.quickfix=Make method synchronized and remove synchronized block
|
||||
fallthru.in.switch.statement.quickfix=Add ''{0}''
|
||||
@@ -1654,8 +1654,8 @@ ignore.overflowing.byte.casts.option=Ignore casts from int 128-255 to byte
|
||||
variable.not.used.inside.if.display.name=Reference checked for 'null' is not used inside 'if'
|
||||
variable.not.used.inside.if.problem.descriptor=<code>#ref</code> checked for 'null' is not used inside 'if' #loc
|
||||
variable.not.used.inside.conditional.problem.descriptor=<code>#ref</code> checked for 'null' is not used inside conditional #loc
|
||||
boolean.expression.may.be.conditional.display.name=Boolean expression could be replaced with conditional expression
|
||||
if.may.be.conditional.problem.descriptor=<code>#ref</code> could be replaced with conditional expression #loc
|
||||
boolean.expression.may.be.conditional.display.name=Boolean expression can be replaced with conditional expression
|
||||
if.may.be.conditional.problem.descriptor=<code>#ref</code> can be replaced with conditional expression #loc
|
||||
if.may.be.conditional.quickfix=Replace with conditional expression
|
||||
expression.may.be.factorized.display.name=Expression can be factorized
|
||||
if.may.be.factorized.problem.descriptor=<code>#ref</code> can be factorized #loc
|
||||
@@ -1673,7 +1673,7 @@ redundant.string.formatted.call.quickfix=Remove redundant call to 'String.format
|
||||
equals.called.on.enum.constant.display.name='equals()' called on enum value
|
||||
equals.called.on.enum.constant.problem.descriptor=<code>#ref()</code> called on enum value #loc
|
||||
int.literal.may.be.long.literal.display.name=Cast to 'long' can be 'long' literal
|
||||
int.literal.may.be.long.literal.problem.descriptor=<code>#ref</code> could be replaced with ''{0}'' #loc
|
||||
int.literal.may.be.long.literal.problem.descriptor=<code>#ref</code> can be replaced with ''{0}'' #loc
|
||||
constant.assert.condition.display.name=Constant condition in 'assert' statement
|
||||
constant.assert.condition.problem.descriptor=Assert condition <code>#ref</code> is constant #loc
|
||||
assert.with.side.effects.display.name='assert' statement with side effects
|
||||
@@ -1681,8 +1681,8 @@ assert.with.side.effects.problem.descriptor=<code>#ref</code> has side effects:
|
||||
method.count.ignore.getters.setters.option=&Ignore simple getter and setter methods
|
||||
class.new.instance.display.name=Unsafe call to 'Class.newInstance()'
|
||||
class.new.instance.problem.descriptor=Call to <code>#ref()</code> may throw undeclared checked exceptions #loc
|
||||
dynamic.regex.replaceable.by.compiled.pattern.display.name=Dynamic regular expression could be replaced by compiled 'Pattern'
|
||||
dynamic.regex.replaceable.by.compiled.pattern.problem.descriptor=<code>#ref()</code> could be replaced with compiled 'java.util.regex.Pattern' construct #loc
|
||||
dynamic.regex.replaceable.by.compiled.pattern.display.name=Dynamic regular expression can be replaced by compiled 'Pattern'
|
||||
dynamic.regex.replaceable.by.compiled.pattern.problem.descriptor=<code>#ref()</code> can be replaced with compiled 'java.util.regex.Pattern' construct #loc
|
||||
dynamic.regex.replaceable.by.compiled.pattern.quickfix=Replace with call to method of compiled 'Pattern' constant
|
||||
ignore.serializable.option=Ignore 'java.io.Serializable'
|
||||
ignore.cloneable.option=Ignore 'java.lang.Cloneable'
|
||||
|
||||
Reference in New Issue
Block a user