summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-09-08 16:23:27 -0400
committerJames Moger <james.moger@gitblit.com>2014-09-08 16:23:27 -0400
commit06255b33b3a3f843ddbb478fad222508b6214f53 (patch)
treeee9a83370c52153a557305b32c552bc195063d02 /src/main
parent805f8878b9457d41f277c81ff8d6e64b5d494903 (diff)
parentcefac9ec81878dfdbbcb0d13843cb2c4430786bc (diff)
downloadgitblit-06255b33b3a3f843ddbb478fad222508b6214f53.tar.gz
gitblit-06255b33b3a3f843ddbb478fad222508b6214f53.zip
Merge branch 'ticket/172' into develop
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/gitblit/wicket/SafeTextModel.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/gitblit/wicket/SafeTextModel.java b/src/main/java/com/gitblit/wicket/SafeTextModel.java
index aef7e97a..5dc1854d 100644
--- a/src/main/java/com/gitblit/wicket/SafeTextModel.java
+++ b/src/main/java/com/gitblit/wicket/SafeTextModel.java
@@ -23,7 +23,7 @@ public class SafeTextModel implements IModel<String> {
}
public static SafeTextModel none(String value) {
- return new SafeTextModel(Mode.none);
+ return new SafeTextModel(value, Mode.none);
}
public static SafeTextModel relaxed() {
@@ -31,7 +31,7 @@ public class SafeTextModel implements IModel<String> {
}
public static SafeTextModel relaxed(String value) {
- return new SafeTextModel(Mode.relaxed);
+ return new SafeTextModel(value, Mode.relaxed);
}
public SafeTextModel(Mode mode) {