summaryrefslogtreecommitdiff
path: root/java/typeMigration/testData/refactoring/typeMigrationByAtomic/directStringArray/after/Test.java
blob: 42415d0c3141568d0e8626966b0743623c66f361 (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));

  }
}