move operator assignment check for object to javac quirks inspection with fix (IDEA-154209)

This commit is contained in:
Anna.Kozlova
2016-04-06 17:15:12 +02:00
parent 400f80a507
commit 56a3a1ffa4
7 changed files with 123 additions and 51 deletions
@@ -0,0 +1,7 @@
class Test {
{
Object o = "";
<warning descr="Operator '+' cannot be applied to 'java.lang.Object', 'java.lang.String'">o += ""</warning>;
System.out.println(o);
}
}