Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
typeMigration
/
testData
/
intentions
/
atomic
/
after14.java
blob: 6109d4106e9b13ec465572b729ebd0aca706a314 [
file
] [
log
] [
blame
]
import
java
.
util
.
concurrent
.
atomic
.
AtomicLong
;
// "Convert to atomic" "true"
class
T
{
private
final
AtomicLong
l
=
new
AtomicLong
(
10L
);
public
synchronized
void
update
(
long
m
)
{
l
.
set
(
m
);
}
}