From db653ae29c54163c7ca2dd6d2b5063d4623c3a8c Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Sun, 29 May 2011 14:04:38 -0400
Subject: [PATCH] Unit testing.
---
src/com/gitblit/FileSettings.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/com/gitblit/FileSettings.java b/src/com/gitblit/FileSettings.java
index 393e76c..01176c0 100644
--- a/src/com/gitblit/FileSettings.java
+++ b/src/com/gitblit/FileSettings.java
@@ -35,7 +35,7 @@
private final Logger logger = LoggerFactory.getLogger(FileSettings.class);
private final File propertiesFile;
-
+
private Properties properties = new Properties();
private long lastread;
@@ -43,7 +43,7 @@
public FileSettings(String file) {
this.propertiesFile = new File(file);
}
-
+
@Override
public List<String> getAllKeys(String startingWith) {
startingWith = startingWith.toLowerCase();
@@ -144,7 +144,7 @@
return strings;
}
- private synchronized Properties read() {
+ private synchronized Properties read() {
if (propertiesFile.exists() && (propertiesFile.lastModified() > lastread)) {
FileInputStream is = null;
try {
--
Gitblit v1.9.1