summaryrefslogtreecommitdiff
path: root/plugins/typeMigration/testData/refactoring/typeMigrationByThreadLocal/directInt/after/Test.java
blob: 627739bc4b1c8c4d9835e5c4596f400b1a681bfa (plain)
1
2
3
4
5
6
7
8
9
10
11
class Test {
  ThreadLocal<Integer> i;

  void foo() {
    i.set(i.get() + 1);
    i.set(i.get() + 1);
    i.set(i.get() - 1);
    i.set(i.get() - 1);
    if (i.get() == 0);
  }
}