diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java index 3cd935821..24b8974e9 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java @@ -515,13 +515,15 @@ public abstract class FS { } /** - * @return the path to the Git executable. + * @return the path to the Git executable or {@code null} if it cannot be + * determined. * @since 4.0 */ protected abstract File discoverGitExe(); /** - * @return the path to the system-wide Git configuration file. + * @return the path to the system-wide Git configuration file or + * {@code null} if it cannot be determined. * @since 4.0 */ protected File discoverGitSystemConfig() {