Skip to content

Commit e8a5870

Browse files
committed
Remove unnecessary null check
1 parent a17714c commit e8a5870

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/fr/adrienbrault/idea/symfony2plugin/action/bundle/NewBundleCommandAction.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ protected void run(@NotNull Result result) throws Throwable {
5050
return;
5151
}
5252

53-
if(bundleFile != null) {
54-
new OpenFileDescriptor(getProject(), bundleFile.getContainingFile().getVirtualFile(), 0).navigate(true);
55-
}
53+
new OpenFileDescriptor(getProject(), bundleFile.getContainingFile().getVirtualFile(), 0).navigate(true);
5654
}
5755

5856
@Override

0 commit comments

Comments
 (0)