summaryrefslogtreecommitdiff
path: root/java/typeMigration/testData/intentions/atomic/after10.java
blob: 685e3fb710e29ddc9f44462c6fc532a3c31f3abf (plain)
1
2
3
4
5
6
7
8
9
10
import java.util.concurrent.atomic.AtomicInteger;

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

  void foo() {
    boolean b = this.o.get() == 1;
  }
}