fix typo in inspection problem descriptor

GitOrigin-RevId: e384ea2dca273f83f6c533c9cab2e3a6f0834a10
This commit is contained in:
Bas Leijdekkers
2022-03-20 19:35:13 +00:00
committed by intellij-monorepo-bot
parent fce1666b94
commit 91437afcba
2 changed files with 3 additions and 3 deletions
@@ -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
@@ -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);
}
}