Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
InspectionGadgets
/
test
/
com
/
siyeh
/
igtest
/
performance
/
object_allocation_in_loop
/
ObjectAllocationInLoop.java
blob: 58581dfe2e3afb50b9aad241ed05ba44c24302bc [
file
] [
log
] [
blame
]
package
com
.
siyeh
.
igtest
.
performance
.
object_allocation_in_loop
;
class
ObjectAllocationInLoop
{
void
m
()
{
while
(
true
)
{
new
<
warning descr
=
"Object allocation 'new Object()' in loop"
>
Object
</
warning
>();
}
}
}