summaryrefslogtreecommitdiff
path: root/plugins/typeMigration/testData/refactoring/typeMigrationByAtomic/reverseStringArray/before/Test.java
blob: fbc97bc2eb36b71a47a9d2da295bda3ecdfa5e47 (plain)
1
2
3
4
5
6
7
8
9
10
11
import java.util.concurrent.atomic.AtomicReferenceArray;

class Test {
    AtomicReferenceArray<String> s = new AtomicReferenceArray<String>(new String[2]);

    void foo() {
        s.set(0, "");
        System.out.println(s.get(0));

    }
}