diff --git a/java/java-analysis-api/resources/messages/JavaAnalysisBundle.properties b/java/java-analysis-api/resources/messages/JavaAnalysisBundle.properties
index b370d5621fba..7236c9de453c 100644
--- a/java/java-analysis-api/resources/messages/JavaAnalysisBundle.properties
+++ b/java/java-analysis-api/resources/messages/JavaAnalysisBundle.properties
@@ -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
diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting7/IDEA111450.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting7/IDEA111450.java
index d16f8ffad6fd..a21d777cbd58 100644
--- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting7/IDEA111450.java
+++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting7/IDEA111450.java
@@ -32,7 +32,7 @@ class Test {
System.out.println((char) c1 == (char) o);
// Although a reference comparison, the cast on the wrapper has a side effect; not redundant.
- System.out.println(o == (char) c1);
- System.out.println((char) c1 == o);
+ System.out.println(o == (char) c1);
+ System.out.println((char) c1 == o);
}
}
\ No newline at end of file