]> source.dussan.org Git - jgit.git/commitdiff
Mention null return in Javadoc of Config#getString 31/19131/1
authorRobin Stocker <robin@nibor.org>
Fri, 29 Nov 2013 16:16:23 +0000 (17:16 +0100)
committerRobin Stocker <robin@nibor.org>
Fri, 29 Nov 2013 16:16:23 +0000 (17:16 +0100)
Change-Id: Ibf09395fb3ac4d5d8f47872ed8f239c821bbee7a
Signed-off-by: Robin Stocker <robin@nibor.org>
org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java

index 8240ac8f76dd084602fa62e78e41b63915f775c3..81977d74ac1799df1a8e3f2e970d927965379f3d 100644 (file)
@@ -435,7 +435,7 @@ public class Config {
        }
 
        /**
-        * Get string value
+        * Get string value or null if not found.
         *
         * @param section
         *            the section
@@ -443,7 +443,7 @@ public class Config {
         *            the subsection for the value
         * @param name
         *            the key name
-        * @return a String value from git config.
+        * @return a String value from the config, <code>null</code> if not found
         */
        public String getString(final String section, String subsection,
                        final String name) {