summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/utils/RpcUtils.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/utils/RpcUtils.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/utils/RpcUtils.java')
-rw-r--r--src/com/gitblit/utils/RpcUtils.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/gitblit/utils/RpcUtils.java b/src/com/gitblit/utils/RpcUtils.java
index 6572cd9d..e5841518 100644
--- a/src/com/gitblit/utils/RpcUtils.java
+++ b/src/com/gitblit/utils/RpcUtils.java
@@ -30,7 +30,6 @@ import com.gitblit.models.FederationSet;
import com.gitblit.models.RepositoryModel;
import com.gitblit.models.ServerSettings;
import com.gitblit.models.ServerStatus;
-import com.gitblit.models.SettingModel;
import com.gitblit.models.UserModel;
import com.google.gson.reflect.TypeToken;
@@ -45,7 +44,7 @@ public class RpcUtils {
public static final Type NAMES_TYPE = new TypeToken<Collection<String>>() {
}.getType();
- public static final Type SETTINGS_TYPE = new TypeToken<Collection<SettingModel>>() {
+ public static final Type SETTINGS_TYPE = new TypeToken<Map<String, String>>() {
}.getType();
private static final Type REPOSITORIES_TYPE = new TypeToken<Map<String, RepositoryModel>>() {