Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
tools
/
idea
/
e782c57d74000722f9db4c9426317410520670c6
/
.
/
plugins
/
InspectionGadgets
/
test
/
com
/
siyeh
/
igfixes
/
threading
/
non_thread_safe_lazy_initialization
/
NestedAssignment.java
blob: 89f229fbd3f0c65fc502460f17b3e57340fb0978 [
file
] [
log
] [
blame
]
public
class
NestedAssignment
{
private
static
Object
o
;
public
static
Object
getInstance
()
{
Object
local
=
null
;
if
(
o
==
null
)
{
local
=
o
<
caret
>
=
new
Object
();
}
return
o
;
}
}