KT-6798 J2K: Needless use of run {} function after converting for-loop
#KT-6798 Fixed
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class A {
|
||||
void foo() {
|
||||
for (int i = 1, j = 0; i < 1000; i *= 2, j++) {
|
||||
System.out.println(i);
|
||||
}
|
||||
|
||||
for (int j = 1; j < 2000; j *= 2) {
|
||||
System.out.println(j);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user