Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
inspection
/
dataFlow
/
fixture
/
EmptyCallDoesNotMakeNullable.java
blob: 225c2683469935ae0eec30e43dc6865e6cb8c9b3 [
file
]
import
org
.
jetbrains
.
annotations
.
Nullable
;
import
java
.
io
.
File
;
class
Doo
{
private
static
void
doSomething
(
@Nullable
File
file
)
{
while
(
file
!=
null
)
{
calc
(
file
);
file
=
file
.
getParentFile
();
}
}
private
static
void
calc
(
File
file
)
{
}
}