Mikhail Glukhikh
fc13b25ca4
KT-11425: convert a.compareTo(b) to binary comparison if possible
...
(cherry picked from commit 7219904)
2016-08-01 12:23:19 +03:00
Mikhail Glukhikh
f309021c9f
KT-11425: convert !a.equals(b) to a != b
...
(cherry picked from commit 56c7786)
2016-08-01 12:23:07 +03:00
Mikhail Glukhikh
2850a7898d
KT-11425: replace call with binary operator works now also with equals() and ==
...
(cherry picked from commit 5d47fdf)
2016-08-01 12:22:54 +03:00
Alexander Udalov
8316953259
Fix double quotes in diagnostic messages
...
For diagnostics without any parameters, the given text is simply rendered as a
String, so no symbols should be escaped.
For diagnostics with parameters, the format in java.text.MessageFormat is used,
so one single quote is erased and two single quotes become one single quote in
the rendered text.
2016-03-30 21:41:43 +03:00
Yan Zhulanow
3fa506fd45
"Inapplicable operator modifier" and "Inapplicable infix modifier" are now errors
2016-01-26 17:21:44 +03:00
Natalia Ukhorskaya
ce3d53d2ee
Intention tests: add operator modifier in some tests
2015-12-17 11:11:27 +03:00
Yan Zhulanow
a3ff3ffc45
Fix tests: "Placing function type parameters after the function name" error
2015-11-27 15:51:11 +03:00
Valentin Kipyatkov
4c88b31878
KT-7525 Don't suggest to replace 'get' call with index operator for static method calls (inspection & intention)
...
KT-5322 super.get issues a "Replace 'get' call with index operator" inspection
#KT-7525 Fixed
#KT-5322 Fixed
2015-05-27 16:15:52 +03:00
Valentin Kipyatkov
11812a9ece
Renamed some intentions + test data dirs
2015-05-14 01:10:05 +03:00