Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
typeMigration
/
testData
/
intentions
/
atomic
/
after8.java
blob: bdfbd5b03a4d41c8302d5567e669ee2e50857de4 [
file
] [
log
] [
blame
]
import
java
.
util
.
concurrent
.
atomic
.
AtomicInteger
;
// "Convert to atomic" "true"
class
Test
{
final
AtomicInteger
o
=
new
AtomicInteger
();
int
j
=
o
.
get
();
void
foo
()
{
while
((
o
=
j
)
!=
0
)
{}
}
}