Skip to content

Commit 4f21cf9

Browse files
committed
DirectoryIndexer: remove unneeded else nesting
1 parent b178a83 commit 4f21cf9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/org/scijava/annotations/DirectoryIndexer.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,7 @@ public InputStream openInput(String annotationName) throws IOException {
144144
if (file.exists()) {
145145
return new FileInputStream(file);
146146
}
147-
else {
148-
return null;
149-
}
147+
return null;
150148
}
151149

152150
@Override

0 commit comments

Comments
 (0)