Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
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
;
}
}