Mikhail Glukhikh
|
9b4bcabbd3
|
Fold initializer & if to elvis: add test, rename tests, simplify code
Enhancement for KT-27016
|
2018-11-29 13:20:54 +03:00 |
|
Toshiaki Kameyama
|
fd6f34f8ca
|
"Replace 'if' with elvis operator": don't suggest on super type check
#KT-27016 Fixed
|
2018-11-29 13:20:54 +03:00 |
|
Toshiaki Kameyama
|
c6db26ba91
|
"Replace 'if' with elvis operator": Don't suggest on nullable type check #KT-25886 Fixed
|
2018-08-27 13:33:46 +03:00 |
|
Dmitry Jemerov
|
3178dee759
|
Insert line break before elvis when converting if to elvis
This ensures correct indentation
|
2017-12-22 10:35:23 +01:00 |
|
Mikhail Glukhikh
|
67788e39d3
|
Fold initializer & if to elvis: search for variable usage inside if first #KT-14889 Fixed
|
2016-12-22 14:56:38 +03:00 |
|
Mikhail Glukhikh
|
c6fefbc223
|
Rename: intention tests "ifNullToElvis" --> "foldInitializerAndIfToElvis"
|
2016-10-11 16:13:16 +03:00 |
|