mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
13 lines
241 B
Java
13 lines
241 B
Java
public class LoopReassignment {
|
|
|
|
public void test() {
|
|
String replacement = "foo";
|
|
String <caret>original = replacement;
|
|
|
|
for (int i = 0; i < 10; i++) {
|
|
System.out.println(original);
|
|
replacement = "bar";
|
|
}
|
|
}
|
|
|
|
} |