Suggest to replace 'substring' calls by take/drop/dropLast calls when possible
Code review fixes #KT-10196 Fixed
This commit is contained in:
+1
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user