summaryrefslogtreecommitdiff
path: root/plugins/typeMigration/testData/intentions/atomic/after5.java
blob: 82ff84c68e75be93e341cdc185eaebfc893468bb (plain)
1
2
3
4
5
6
7
8
9
import java.util.concurrent.atomic.AtomicInteger;

// "Convert to atomic" "true"
class Test {
 final AtomicInteger i = new AtomicInteger(0 + 8);

 int j = i.get() + 5;
 String s = "i = " + i.get();
}