Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
typeMigration
/
testData
/
refactoring
/
typeMigrationByAtomic
/
reverseByte
/
after
/
Test.java
blob: 28445dd317284548e47ecaabb0fd9a92648eb8b7 [
file
] [
log
] [
blame
]
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
);
}
}
}