summaryrefslogtreecommitdiff
path: root/plugins/typeMigration/testData/intentions/atomic/after12.java
blob: 8accafd9fa106ab3a7d0d91846a2cbfeeaf9e4f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import java.util.concurrent.atomic.AtomicInteger;

// "Convert to atomic" "true"
class Test {

    {
        AtomicInteger i = new AtomicInteger(0);
        Integer j = 0;

        assert j == i.get();
    }
}