New J2K: do not commit document after each inspection in post-processing

Related to #KT-31848
This commit is contained in:
Ilya Kirillov
2019-06-10 09:48:24 +03:00
parent 110611d690
commit 0fc0f99acb
3 changed files with 17 additions and 23 deletions
+1 -1
View File
@@ -29,6 +29,6 @@ internal class A {
fun foo(param1: String?, param2: String?, param3: String?) {}
companion object {
/*it's public*/ /*and static*/ const val/*and final*/ C = 1
/*it's public*/const /*and static*/ val/*and final*/ C = 1
}
}
+14 -14
View File
@@ -83,14 +83,14 @@ internal class A {
s.regionMatches(0, "st", 1, 2)
s.replace("\\w+".toRegex(), "---").replaceFirst("([s-t])".toRegex(), "A$1")
/* TODO
s.matches("\\w+");
useSplit(s.split("\\s+"));
useSplit(s.split("\\s+", 0));
useSplit(s.split("\\s+", -1));
useSplit(s.split("\\s+", 2));
int limit = 5;
useSplit(s.split("\\s+", limit));
*/
s.matches("\\w+");
useSplit(s.split("\\s+"));
useSplit(s.split("\\s+", 0));
useSplit(s.split("\\s+", -1));
useSplit(s.split("\\s+", 2));
int limit = 5;
useSplit(s.split("\\s+", limit));
*/
s.trim { it <= ' ' }
"$s another"
@@ -123,17 +123,17 @@ internal class A {
String(chars, 1, 2)
String(chars)
String(chars, 1, 2)
val order: Comparator<String?> = String.CASE_INSENSITIVE_ORDER
val order: Comparator<String?>? = java.lang.String.CASE_INSENSITIVE_ORDER
}
fun unsupportedMethods() {
val s = "test string"
/* TODO:
s.indexOf(32);
s.indexOf(32, 2);
s.lastIndexOf(32);
s.lastIndexOf(32, 2);
*/
s.indexOf(32);
s.indexOf(32, 2);
s.lastIndexOf(32);
s.lastIndexOf(32, 2);
*/
}
fun useSplit(result: Array<String?>?) {}