Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
codeInsight
/
invertIfCondition
/
afterInsideLambda.java
blob: 14241c1a1fd0eb4fdf31398343dcf817b3c371c6 [
file
]
// "Invert 'if' condition" "true"
class
A
{
public
void
foo
()
{
Runnable
r
=
()
->
{
if
(
System
.
currentTimeMillis
()
<=
1
)
{
System
.
err
.
println
(
"Elvis lives"
);
}
else
{
return
;
}
};
}
}