Skip to content

Commit 156eed5

Browse files
authored
Fix missing and extra spaces in log messages
2 parents 65e06f5 + 004cba5 commit 156eed5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

geowebcache/core/src/main/java/org/geowebcache/storage/DefaultStorageFinder.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,26 +94,26 @@ private void determineDefaultPrefix() {
9494
String value = v.getValue();
9595
if (value == null || value.isEmpty()) {
9696
if (log.isLoggable(Level.FINE)) {
97-
log.fine(typeStr + varStr + " is unset");
97+
log.fine(typeStr + " " + varStr + " is unset");
9898
}
9999
continue;
100100
}
101101

102102
File fh = new File(value);
103103

104104
// Being a bit pessimistic here
105-
msgPrefix = "Found " + typeStr + varStr + " set to " + value;
105+
msgPrefix = "Found " + typeStr + " " + varStr + " set to " + value;
106106

107107
if (!fh.exists()) {
108-
log.log(Level.SEVERE, msgPrefix + " , but this path does not exist");
108+
log.log(Level.SEVERE, msgPrefix + ", but this path does not exist");
109109
continue;
110110
}
111111
if (!fh.isDirectory()) {
112-
log.log(Level.SEVERE, msgPrefix + " , which is not a directory");
112+
log.log(Level.SEVERE, msgPrefix + ", which is not a directory");
113113
continue;
114114
}
115115
if (!fh.canWrite()) {
116-
log.log(Level.SEVERE, msgPrefix + " , which is not writeable");
116+
log.log(Level.SEVERE, msgPrefix + ", which is not writeable");
117117
continue;
118118
}
119119

0 commit comments

Comments
 (0)