summaryrefslogtreecommitdiff
path: root/java/typeMigration/testData/intentions/atomic/after2.java
blob: 2c2ad94beeb004451507b2ea03e4eb672f3f3a43 (plain)
1
2
3
4
5
6
7
8
9
import java.util.concurrent.atomic.AtomicReferenceArray;

// "Convert to atomic" "true"
class Test {
  final AtomicReferenceArray<Object> field= new AtomicReferenceArray<>(foo());
  Object[] foo() {
    return null;
  }
}