summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/RpcServlet.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2011-10-24 21:51:46 -0400
committerJames Moger <james.moger@gitblit.com>2011-10-24 21:51:46 -0400
commit97a20ed01cb5ec890517e4fcbd67b8d8ff381787 (patch)
tree620bce135606c569c9429205b1b541bcf356f08e /src/com/gitblit/RpcServlet.java
parentf306ef8552efe1580e9c16e1d944f5ed1dca4aae (diff)
downloadgitblit-97a20ed01cb5ec890517e4fcbd67b8d8ff381787.tar.gz
gitblit-97a20ed01cb5ec890517e4fcbd67b8d8ff381787.zip
Working edit settings RPC. Web.xml is not directly modified.
Diffstat (limited to 'src/com/gitblit/RpcServlet.java')
-rw-r--r--src/com/gitblit/RpcServlet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/gitblit/RpcServlet.java b/src/com/gitblit/RpcServlet.java
index 7cf3a598..1136692a 100644
--- a/src/com/gitblit/RpcServlet.java
+++ b/src/com/gitblit/RpcServlet.java
@@ -191,7 +191,7 @@ public class RpcServlet extends JsonServlet {
} else if (RpcRequest.EDIT_SETTINGS.equals(reqType)) {
// update settings on the server
if (GitBlit.getBoolean(Keys.web.enableRpcAdministration, false)) {
- Collection<SettingModel> settings = deserialize(request, response,
+ Map<String, String> settings = deserialize(request, response,
RpcUtils.SETTINGS_TYPE);
GitBlit.self().updateSettings(settings);
} else {