We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4956def commit 5b91bbaCopy full SHA for 5b91bba
opengrok-indexer/src/main/java/org/opengrok/indexer/configuration/Project.java
@@ -34,6 +34,7 @@
34
import java.util.logging.Logger;
35
import java.util.regex.PatternSyntaxException;
36
37
+import org.jetbrains.annotations.Nullable;
38
import org.jetbrains.annotations.VisibleForTesting;
39
import org.opengrok.indexer.logger.LoggerFactory;
40
import org.opengrok.indexer.util.ClassUtil;
@@ -548,6 +549,7 @@ public static Project getProject(String path) {
548
549
* @param file the file to lookup
550
* @return the project that this file belongs to (or {@code null} if the file doesn't belong to a project)
551
*/
552
+ @Nullable
553
public static Project getProject(File file) {
554
Project ret = null;
555
try {
0 commit comments