From 134a895dbf6db6b9784f165a3a577d6059949169 Mon Sep 17 00:00:00 2001
From: Mohamed MOUNIROU <mmounirou@MacBook-Pro-de-Mohamed.local>
Date: Tue, 04 Oct 2011 16:35:09 -0400
Subject: [PATCH] add tools to install giblet as service on linux based os
---
src/com/gitblit/WebXmlSettings.java | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/com/gitblit/WebXmlSettings.java b/src/com/gitblit/WebXmlSettings.java
index dff5700..4b0358d 100644
--- a/src/com/gitblit/WebXmlSettings.java
+++ b/src/com/gitblit/WebXmlSettings.java
@@ -22,6 +22,12 @@
import com.gitblit.utils.StringUtils;
+/**
+ * Loads Gitblit settings from the context-parameter values of a web.xml file.
+ *
+ * @author James Moger
+ *
+ */
public class WebXmlSettings extends IStoredSettings {
private final Properties properties = new Properties();
@@ -36,9 +42,9 @@
logger.debug(key + "=" + properties.getProperty(key));
}
}
-
+
private String decodeValue(String value) {
- // Decode escaped backslashes and HTML entities
+ // decode escaped backslashes and HTML entities
return StringUtils.decodeFromHtml(value).replace("\\\\", "\\");
}
--
Gitblit v1.9.1