summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Stocker <robin@nibor.org>2013-11-29 17:16:23 +0100
committerRobin Stocker <robin@nibor.org>2013-11-29 17:16:23 +0100
commit53c8ac0c6090a6f52fa70258cc5187cacfd065ff (patch)
tree22a84559bbfda9b1e9ee0c91e83241ed96771c58
parentdcd0dd4d9ec0ffebb5bdbbe9ea819316427b79ca (diff)
downloadjgit-53c8ac0c6090a6f52fa70258cc5187cacfd065ff.tar.gz
jgit-53c8ac0c6090a6f52fa70258cc5187cacfd065ff.zip
Mention null return in Javadoc of Config#getString
Change-Id: Ibf09395fb3ac4d5d8f47872ed8f239c821bbee7a Signed-off-by: Robin Stocker <robin@nibor.org>
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java
index 8240ac8f76..81977d74ac 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java
@@ -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) {