Skip to content

Commit d8cbc72

Browse files
committed
add Nullable annotation
1 parent 4004612 commit d8cbc72

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/history/SCCSHistoryParser.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
import java.text.ParseException;
3232
import java.util.ArrayList;
3333
import java.util.Date;
34+
35+
import org.jetbrains.annotations.Nullable;
3436
import org.opengrok.indexer.util.IOUtils;
3537

3638
/**
@@ -254,6 +256,7 @@ private static File getSCCSFile(File file) {
254256
return getSCCSFile(file.getParent(), file.getName());
255257
}
256258

259+
@Nullable
257260
static File getSCCSFile(String parent, String name) {
258261
File f = Paths.get(parent, "SCCS", "s." + name).toFile();
259262
if (!f.exists()) {

0 commit comments

Comments
 (0)