Suggest to replace 'substring' calls by take/drop/dropLast calls when possible

Code review fixes
#KT-10196 Fixed
This commit is contained in:
Anton Sukhonosenko
2016-01-14 22:40:50 +03:00
parent ba0efda2f0
commit b2e98e9353
23 changed files with 87 additions and 147 deletions
@@ -1,5 +1,5 @@
<html>
<body>
This intention replaces 'substring' and 'indexOf' calls with 'substringBefore' call.
This intention replaces call like <code>s.substring(0, s.indexOf(x))</code> with <code>s.substringBefore(x)</code> call.
</body>
</html>