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

// "Convert to atomic" "true"
class Test {
  final AtomicIntegerArray field= new AtomicIntegerArray(foo());
  int[] foo() {
    return null;
  }
}