IDEA-133322 Add an intention to convert compareTo(x)==0 to equals

This commit is contained in:
Dmitry Batkovich
2014-11-24 13:21:18 +03:00
parent 3781bd3aca
commit 38353bfac4
11 changed files with 310 additions and 0 deletions
@@ -0,0 +1,9 @@
import java.lang.String;
class X {
void m() {
boolean b = "asd".substring(1).compareTo("qwe".substring(2)) !<caret>= 0;
}
}