mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix typo in inspection problem descriptor
GitOrigin-RevId: e384ea2dca273f83f6c533c9cab2e3a6f0834a10
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fce1666b94
commit
91437afcba
@@ -183,7 +183,7 @@ anonymous.ref.loc.can.be.replaced.with.lambda=Anonymous #ref #loc can be replace
|
||||
assigning.a.collection.of.nullable.elements=Assigning a collection of nullable elements into a collection of non-null elements
|
||||
nullable.stuff.error.overriding.nullable.with.notnull=Overriding a collection of nullable elements with a collection of non-null elements
|
||||
nullable.stuff.error.overriding.notnull.with.nullable=Overriding a collection of not-null elements with a collection of nullable elements
|
||||
comparision.between.object.and.primitive=Comparision between Object and primitive is illegal and is accepted in java 7 only
|
||||
comparision.between.object.and.primitive=Comparison between Object and primitive is illegal and is accepted in java 7 only
|
||||
custom.exception.class.should.have.a.constructor=Custom exception class should have a constructor with a single message parameter of String type
|
||||
delimiters.argument.contains.duplicated.characters=Delimiters argument contains duplicated characters
|
||||
deprecated.class.usage.group.xml=XML
|
||||
|
||||
+2
-2
@@ -32,7 +32,7 @@ class Test {
|
||||
System.out.println((<warning descr="Casting 'c1' to 'char' is redundant">char</warning>) c1 == (char) o);
|
||||
|
||||
// Although a reference comparison, the cast on the wrapper has a side effect; not redundant.
|
||||
System.out.println(o <warning descr="Comparision between Object and primitive is illegal and is accepted in java 7 only">==</warning> (char) c1);
|
||||
System.out.println((char) c1 <warning descr="Comparision between Object and primitive is illegal and is accepted in java 7 only">==</warning> o);
|
||||
System.out.println(o <warning descr="Comparison between Object and primitive is illegal and is accepted in java 7 only">==</warning> (char) c1);
|
||||
System.out.println((char) c1 <warning descr="Comparison between Object and primitive is illegal and is accepted in java 7 only">==</warning> o);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user