summaryrefslogtreecommitdiff
path: root/java/typeMigration/testData/refactoring/typeMigrationByAtomic/reverseByte/after/Test.java
blob: 28445dd317284548e47ecaabb0fd9a92648eb8b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import java.util.concurrent.atomic.AtomicReference;

class Test {
    byte b = (byte) 0;

    void bar() {
        if (b == 0) {
            b = new Byte((byte) (b + 1));
            b = new Byte((byte) (b + 0));
            //System.out.println(b + 10);
            System.out.println(b);
        }
    }
}