diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeBlockForEachToForEach.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeBlockForEachToForEach.java index 1b61e425e2a9..35324823a498 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeBlockForEachToForEach.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeBlockForEachToForEach.java @@ -5,7 +5,7 @@ import java.util.*; public class Main { private void test() { List other = new ArrayList<>(); - other.stream().forEach(s -> { + other.stream().forEach(s -> { if(s.length() > 2) System.out.println(s); }); } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeBlockForEachToForEachComments.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeBlockForEachToForEachComments.java index 95edff6e61ec..06a6802c9f7e 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeBlockForEachToForEachComments.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeBlockForEachToForEachComments.java @@ -5,7 +5,7 @@ import java.util.*; public class Main { private void test() { List other = new ArrayList<>(); - other.stream().forEach(s -> { // c1 + other.stream().forEach(s -> { // c1 if(s.length() > 2) System.out.println(s); //c2 }); } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeCollectionForEachBlock.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeCollectionForEachBlock.java index cc055f421440..815e6da51526 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeCollectionForEachBlock.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeCollectionForEachBlock.java @@ -5,7 +5,7 @@ import java.util.*; public class Main { private void test(List strs) { List other = new ArrayList<>(); - strs.stream().forEach(s -> { + strs.stream().forEach(s -> { if(s.length() > 2) { other.add(s); } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlock.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlock.java index fef5ce81635b..76b0bdf08884 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlock.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlock.java @@ -6,6 +6,6 @@ public class Main { private void test() { List strs = new ArrayList<>(); List other = new ArrayList<>(); - other.stream().forEach(s -> {strs.add(s)}); + other.stream().forEach(s -> {strs.add(s)}); } } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockFilter.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockFilter.java index 172148756f47..0648335fa75a 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockFilter.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockFilter.java @@ -6,7 +6,7 @@ public class Main { private void test() { List strs = new ArrayList<>(); List other = new ArrayList<>(); - other.stream().forEach(s -> { + other.stream().forEach(s -> { if(s.length() > 2) strs.add(s); }); } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockFilterSortToArray.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockFilterSortToArray.java index 6ffe22fa0269..3fd3248017ff 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockFilterSortToArray.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockFilterSortToArray.java @@ -6,7 +6,7 @@ public class Main { private void test() { List strs = new ArrayList<>(); List other = new ArrayList<>(); - other.stream().forEach(s -> { + other.stream().forEach(s -> { if(s.length() > 2) { strs.add(s); } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockFilterSortToList.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockFilterSortToList.java index c87f440e35ab..c8747bd62645 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockFilterSortToList.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockFilterSortToList.java @@ -6,7 +6,7 @@ public class Main { private void test() { List strs = new ArrayList<>(); List other = new ArrayList<>(); - other.stream().forEach(s -> { + other.stream().forEach(s -> { if(s.length() > 2) { strs.add(s); } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockForEachOrdered.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockForEachOrdered.java index 25fc5287df49..e2e61eb31c60 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockForEachOrdered.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockForEachOrdered.java @@ -5,6 +5,6 @@ import java.util.*; public class Main { private void test() { List other = new ArrayList<>(); - other.stream().forEachOrdered(s -> {if(s.length() > 2) System.out.println(s);}); + other.stream().forEachOrdered(s -> {if(s.length() > 2) System.out.println(s);}); } } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockInlineInitializer.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockInlineInitializer.java index 4cc4647c973c..9af289dc1140 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockInlineInitializer.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachBlockInlineInitializer.java @@ -5,6 +5,6 @@ import java.util.*; public class Main { private void test(List other) { List strs = new ArrayList<>(); - other.stream().forEach(s -> {strs.add(s)}); + other.stream().forEach(s -> {strs.add(s)}); } } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambda.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambda.java index c8f3e1e9e23f..1f22fdbb1ecb 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambda.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambda.java @@ -6,6 +6,6 @@ public class Main { private void test() { List strs = new ArrayList<>(); List other = new ArrayList<>(); - other.stream().forEach(s -> strs.add(s)); + other.stream().forEach(s -> strs.add(s)); } } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambdaCount.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambdaCount.java index fd7e758c9adc..bb02b157add4 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambdaCount.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambdaCount.java @@ -6,6 +6,6 @@ public class Main { private void test() { List strs = new ArrayList<>(); int count = 0; - strs.stream().forEach(x -> count++) + strs.stream().forEach(x -> count++) } } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambdaJoining.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambdaJoining.java index 716186d2b26d..aa5882ba3098 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambdaJoining.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambdaJoining.java @@ -6,6 +6,6 @@ public class Main { private void test() { List strs = new ArrayList<>(); StringBuilder sb = new StringBuilder(); - strs.stream().forEach(x -> sb.append(x)); + strs.stream().forEach(x -> sb.append(x)); } } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambdaToArray.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambdaToArray.java index 42949d7c66a6..29c33e867b6a 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambdaToArray.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambdaToArray.java @@ -5,7 +5,7 @@ import java.util.*; public class Main { private void test(List strs) { List tmp = new ArrayList<>(); - strs.stream().forEach(x -> tmp.add(x)); + strs.stream().forEach(x -> tmp.add(x)); String[] arr = tmp.toArray(); } } diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambdaToMap.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambdaToMap.java index 65e43533a622..2f35ad133118 100644 --- a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambdaToMap.java +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/simplifyForEach/beforeForEachExpressionLambdaToMap.java @@ -6,6 +6,6 @@ public class Main { private void test() { List other = new ArrayList<>(); HashMap map = new HashMap(); - other.stream().forEach(s -> map.putIfAbsent(s.length(), s)); + other.stream().forEach(s -> map.putIfAbsent(s.length(), s)); } }