summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/com/gitblit/FileSettings.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/FileSettings.java b/src/main/java/com/gitblit/FileSettings.java
index 3caf966b..24d86d30 100644
--- a/src/main/java/com/gitblit/FileSettings.java
+++ b/src/main/java/com/gitblit/FileSettings.java
@@ -227,6 +227,9 @@ public class FileSettings extends IStoredSettings {
@Override
public String toString() {
+ if (propertiesFile == null) {
+ return "[empty]";
+ }
return propertiesFile.getAbsolutePath();
}
}