mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
FoldExpressionIntoStream, StreamApiMigration: EquivalenceChecker used
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Fold expression into 'String.join'" "true"
|
||||
class Test {
|
||||
void test(String a, String b, String c, String d) {
|
||||
String result = a + "," + b + "," + c + ","<caret> + d + ",";
|
||||
String result = a + "," + b + ((",")) + c + ","<caret> + d + ",";
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -6,7 +6,7 @@ import java.util.List;
|
||||
public class Test {
|
||||
public void test(List<Integer> ints) {
|
||||
long[] arr = new long[ints.size()];
|
||||
for(int <caret>i = 0; i < ints.size(); i++) {
|
||||
for(int <caret>i = 0; i < (ints).size(); i++) {
|
||||
arr[i] = ints.get(i);
|
||||
}
|
||||
System.out.println(Arrays.toString(arr));
|
||||
|
||||
Reference in New Issue
Block a user