From 53c8ac0c6090a6f52fa70258cc5187cacfd065ff Mon Sep 17 00:00:00 2001 From: Robin Stocker Date: Fri, 29 Nov 2013 17:16:23 +0100 Subject: [PATCH] Mention null return in Javadoc of Config#getString Change-Id: Ibf09395fb3ac4d5d8f47872ed8f239c821bbee7a Signed-off-by: Robin Stocker --- org.eclipse.jgit/src/org/eclipse/jgit/lib/Config.java | 4 ++-- 1 file 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 8240ac8f7..81977d74a 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 @@ else if (StringUtils.equalsIgnoreCase(e.name(), "FALSE")) //$NON-NLS-1$ } /** - * Get string value + * Get string value or null if not found. * * @param section * the section @@ -443,7 +443,7 @@ else if (StringUtils.equalsIgnoreCase(e.name(), "FALSE")) //$NON-NLS-1$ * the subsection for the value * @param name * the key name - * @return a String value from git config. + * @return a String value from the config, null if not found */ public String getString(final String section, String subsection, final String name) {