mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-inspections] More preview tests
GitOrigin-RevId: 571a82f66623887c1b5008963df842b2597c58c9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
310086eaa9
commit
8560c6a5d1
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Change 'new Runnable() {...}' to 'new StringBuffer()'" "true"
|
||||
// "Change 'new Runnable() {...}' to 'new StringBuffer()'" "true-preview"
|
||||
|
||||
class X {
|
||||
//comment0
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Change 'new Runnable() {...}' to 'new StringBuffer()'" "true"
|
||||
// "Change 'new Runnable() {...}' to 'new StringBuffer()'" "true-preview"
|
||||
|
||||
class X {
|
||||
public StringBuffer buf = <caret>new Runnable//comment0
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Randomly change 'serialVersionUID' initializer" "true"
|
||||
// "Randomly change 'serialVersionUID' initializer" "true-preview"
|
||||
|
||||
import java.util.function.BinaryOperator;
|
||||
import java.util.function.Function;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Randomly change 'serialVersionUID' initializer" "true"
|
||||
// "Randomly change 'serialVersionUID' initializer" "true-preview"
|
||||
|
||||
import java.util.function.BinaryOperator;
|
||||
import java.util.function.Function;
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
import java.util.Arrays;
|
||||
|
||||
// "Collapse into loop" "true"
|
||||
// "Collapse into loop" "true-preview"
|
||||
class X {
|
||||
void test() {
|
||||
// 1
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Collapse into loop" "true"
|
||||
// "Collapse into loop" "true-preview"
|
||||
class X {
|
||||
void test() {
|
||||
// 1
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert compact constructor to canonical" "true"
|
||||
// "Convert compact constructor to canonical" "true-preview"
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert compact constructor to canonical" "true"
|
||||
// "Convert compact constructor to canonical" "true-preview"
|
||||
record R(int x,int y) {
|
||||
/*
|
||||
hello
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert compact constructor to canonical" "true"
|
||||
// "Convert compact constructor to canonical" "true-preview"
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert compact constructor to canonical" "true"
|
||||
// "Convert compact constructor to canonical" "true-preview"
|
||||
record R(int x,int y) {
|
||||
/*
|
||||
hello
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Remove 'comparing()' call" "true"
|
||||
// "Remove 'comparing()' call" "true-preview"
|
||||
import java.util.*;
|
||||
|
||||
class Test {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Remove 'comparingInt()' call and use 'thenComparingInt()'" "true"
|
||||
// "Remove 'comparingInt()' call and use 'thenComparingInt()'" "true-preview"
|
||||
import java.util.*;
|
||||
|
||||
class Test {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Remove 'comparing()' call" "true"
|
||||
// "Remove 'comparing()' call" "true-preview"
|
||||
import java.util.Comparator;
|
||||
import java.util.function.Function;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Entry.comparingByKey()'" "true"
|
||||
// "Replace with 'Entry.comparingByKey()'" "true-preview"
|
||||
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Remove 'comparing()' call" "true"
|
||||
// "Remove 'comparing()' call" "true-preview"
|
||||
import java.util.*;
|
||||
|
||||
class Test {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Remove 'comparingInt()' call and use 'thenComparingInt()'" "true"
|
||||
// "Remove 'comparingInt()' call and use 'thenComparingInt()'" "true-preview"
|
||||
import java.util.*;
|
||||
|
||||
class Test {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Remove 'comparing()' call" "true"
|
||||
// "Remove 'comparing()' call" "true-preview"
|
||||
import java.util.Comparator;
|
||||
import java.util.function.Function;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Entry.comparingByKey()'" "true"
|
||||
// "Replace with 'Entry.comparingByKey()'" "true-preview"
|
||||
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingInt'" "true"
|
||||
// "Replace with 'Comparator.comparingInt'" "true-preview"
|
||||
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingInt'" "true"
|
||||
// "Replace with 'Comparator.comparingInt'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingInt'" "true"
|
||||
// "Replace with 'Comparator.comparingInt'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparing'" "true"
|
||||
// "Replace with 'Comparator.comparing'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparing'" "true"
|
||||
// "Replace with 'Comparator.comparing'" "true-preview"
|
||||
|
||||
import java.util.Comparator;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator' chain" "true"
|
||||
// "Replace with 'Comparator' chain" "true-preview"
|
||||
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator' chain" "true"
|
||||
// "Replace with 'Comparator' chain" "true-preview"
|
||||
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator' chain" "true"
|
||||
// "Replace with 'Comparator' chain" "true-preview"
|
||||
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator' chain" "true"
|
||||
// "Replace with 'Comparator' chain" "true-preview"
|
||||
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator' chain" "true"
|
||||
// "Replace with 'Comparator' chain" "true-preview"
|
||||
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator' chain" "true"
|
||||
// "Replace with 'Comparator' chain" "true-preview"
|
||||
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingInt'" "true"
|
||||
// "Replace with 'Comparator.comparingInt'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingInt'" "true"
|
||||
// "Replace with 'Comparator.comparingInt'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingDouble'" "true"
|
||||
// "Replace with 'Comparator.comparingDouble'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingDouble'" "true"
|
||||
// "Replace with 'Comparator.comparingDouble'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparing'" "true"
|
||||
// "Replace with 'Comparator.comparing'" "true-preview"
|
||||
|
||||
import java.util.Comparator;
|
||||
public class MyTest {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparing'" "true"
|
||||
// "Replace with 'Comparator.comparing'" "true-preview"
|
||||
|
||||
import java.util.Comparator;
|
||||
public class MyTest {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparing'" "true"
|
||||
// "Replace with 'Comparator.comparing'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingInt'" "true"
|
||||
// "Replace with 'Comparator.comparingInt'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingLong'" "true"
|
||||
// "Replace with 'Comparator.comparingLong'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingLong'" "true"
|
||||
// "Replace with 'Comparator.comparingLong'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.naturalOrder'" "true"
|
||||
// "Replace with 'Comparator.naturalOrder'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator' chain" "true"
|
||||
// "Replace with 'Comparator' chain" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.reverseOrder'" "true"
|
||||
// "Replace with 'Comparator.reverseOrder'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparing'" "true"
|
||||
// "Replace with 'Comparator.comparing'" "true-preview"
|
||||
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingInt'" "true"
|
||||
// "Replace with 'Comparator.comparingInt'" "true-preview"
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingInt'" "true"
|
||||
// "Replace with 'Comparator.comparingInt'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingInt'" "true"
|
||||
// "Replace with 'Comparator.comparingInt'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparing'" "true"
|
||||
// "Replace with 'Comparator.comparing'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparing'" "true"
|
||||
// "Replace with 'Comparator.comparing'" "true-preview"
|
||||
|
||||
import java.util.Comparator;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator' chain" "true"
|
||||
// "Replace with 'Comparator' chain" "true-preview"
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator' chain" "true"
|
||||
// "Replace with 'Comparator' chain" "true-preview"
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator' chain" "true"
|
||||
// "Replace with 'Comparator' chain" "true-preview"
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator' chain" "true"
|
||||
// "Replace with 'Comparator' chain" "true-preview"
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator' chain" "true"
|
||||
// "Replace with 'Comparator' chain" "true-preview"
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator' chain" "true"
|
||||
// "Replace with 'Comparator' chain" "true-preview"
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingInt'" "true"
|
||||
// "Replace with 'Comparator.comparingInt'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingInt'" "true"
|
||||
// "Replace with 'Comparator.comparingInt'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingDouble'" "true"
|
||||
// "Replace with 'Comparator.comparingDouble'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingDouble'" "true"
|
||||
// "Replace with 'Comparator.comparingDouble'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparing'" "true"
|
||||
// "Replace with 'Comparator.comparing'" "true-preview"
|
||||
|
||||
import java.util.Comparator;
|
||||
public class MyTest {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparing'" "true"
|
||||
// "Replace with 'Comparator.comparing'" "true-preview"
|
||||
|
||||
import java.util.Comparator;
|
||||
public class MyTest {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparing'" "true"
|
||||
// "Replace with 'Comparator.comparing'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingInt'" "true"
|
||||
// "Replace with 'Comparator.comparingInt'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingLong'" "true"
|
||||
// "Replace with 'Comparator.comparingLong'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparingLong'" "true"
|
||||
// "Replace with 'Comparator.comparingLong'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.naturalOrder'" "true"
|
||||
// "Replace with 'Comparator.naturalOrder'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator' chain" "true"
|
||||
// "Replace with 'Comparator' chain" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.reverseOrder'" "true"
|
||||
// "Replace with 'Comparator.reverseOrder'" "true-preview"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with 'Comparator.comparing'" "true"
|
||||
// "Replace with 'Comparator.comparing'" "true-preview"
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with '> 0'" "true"
|
||||
// "Replace with '> 0'" "true-preview"
|
||||
import java.util.*;
|
||||
|
||||
class Test {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace with '> 0'" "true"
|
||||
// "Replace with '> 0'" "true-preview"
|
||||
import java.util.*;
|
||||
|
||||
class Test {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace nested function call with andThen call" "true"
|
||||
// "Replace nested function call with andThen call" "true-preview"
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.function.BinaryOperator;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace nested function call with andThen call" "true"
|
||||
// "Replace nested function call with andThen call" "true-preview"
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.function.BinaryOperator;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace nested function call with andThen call" "true"
|
||||
// "Replace nested function call with andThen call" "true-preview"
|
||||
|
||||
import java.util.function.UnaryOperator;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace nested function call with andThen call" "true"
|
||||
// "Replace nested function call with andThen call" "true-preview"
|
||||
|
||||
import java.util.function.BinaryOperator;
|
||||
import java.util.function.Function;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace nested function call with andThen call" "true"
|
||||
// "Replace nested function call with andThen call" "true-preview"
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.function.BinaryOperator;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace nested function call with andThen call" "true"
|
||||
// "Replace nested function call with andThen call" "true-preview"
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.function.BinaryOperator;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace nested function call with andThen call" "true"
|
||||
// "Replace nested function call with andThen call" "true-preview"
|
||||
|
||||
import java.util.function.UnaryOperator;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Replace nested function call with andThen call" "true"
|
||||
// "Replace nested function call with andThen call" "true-preview"
|
||||
|
||||
import java.util.function.BinaryOperator;
|
||||
import java.util.function.Function;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
int i = 1;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
int i = 1;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
int i = 1;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
int i = 0;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
int i = 0;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
private int variableWithSameName = 1;
|
||||
public static void main(String[] args) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
int i = 0;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
int i = 0;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
boolean isValid = true;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
int i = 0;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
int i = 0;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
boolean isValid = true;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
int i = 0;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
int i = 0;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
int i = 1;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
int i = 1;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
int i = 1;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
int i = 0;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
int i = 0;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
private int variableWithSameName = 1;
|
||||
public static void main(String[] args) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
int i = 0;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Move condition to loop" "true"
|
||||
// "Move condition to loop" "true-preview"
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
int i = 0;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user