From ffe73776d1fa1eb138c23ff780bcecbaca56a9fc Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Mon, 10 Jun 2013 08:36:53 -0400
Subject: [PATCH] Documentation

---
 src/main/java/com/gitblit/IStoredSettings.java |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/gitblit/IStoredSettings.java b/src/main/java/com/gitblit/IStoredSettings.java
index 790f8b6..f0b1e63 100644
--- a/src/main/java/com/gitblit/IStoredSettings.java
+++ b/src/main/java/com/gitblit/IStoredSettings.java
@@ -161,7 +161,7 @@
 	
 	/**
 	 * Returns an long filesize from a string value such as 50m or 50mb
-	 * @param name
+	 * @param n
 	 * @param defaultValue
 	 * @return a long filesize or defaultValue if the key does not exist or can
 	 *         not be parsed
@@ -288,6 +288,16 @@
 	}
 
 	/**
+	 * Override the specified key with the specified value.
+	 * 
+	 * @param key
+	 * @param value
+	 */
+	public void overrideSetting(String key, int value) {
+		overrides.put(key, "" + value);
+	}
+
+	/**
 	 * Updates the values for the specified keys and persists the entire
 	 * configuration file.
 	 * 

--
Gitblit v1.9.1