From 004cba53a132ddcf88eb0f1e64b54dc8a7255815 Mon Sep 17 00:00:00 2001 From: Peter Smythe Date: Thu, 10 Apr 2025 21:08:15 +0200 Subject: [PATCH] Fix missing and extra spaces in log messages --- .../org/geowebcache/storage/DefaultStorageFinder.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/geowebcache/core/src/main/java/org/geowebcache/storage/DefaultStorageFinder.java b/geowebcache/core/src/main/java/org/geowebcache/storage/DefaultStorageFinder.java index 9b5498812..20b28f278 100644 --- a/geowebcache/core/src/main/java/org/geowebcache/storage/DefaultStorageFinder.java +++ b/geowebcache/core/src/main/java/org/geowebcache/storage/DefaultStorageFinder.java @@ -94,7 +94,7 @@ private void determineDefaultPrefix() { String value = v.getValue(); if (value == null || value.isEmpty()) { if (log.isLoggable(Level.FINE)) { - log.fine(typeStr + varStr + " is unset"); + log.fine(typeStr + " " + varStr + " is unset"); } continue; } @@ -102,18 +102,18 @@ private void determineDefaultPrefix() { File fh = new File(value); // Being a bit pessimistic here - msgPrefix = "Found " + typeStr + varStr + " set to " + value; + msgPrefix = "Found " + typeStr + " " + varStr + " set to " + value; if (!fh.exists()) { - log.log(Level.SEVERE, msgPrefix + " , but this path does not exist"); + log.log(Level.SEVERE, msgPrefix + ", but this path does not exist"); continue; } if (!fh.isDirectory()) { - log.log(Level.SEVERE, msgPrefix + " , which is not a directory"); + log.log(Level.SEVERE, msgPrefix + ", which is not a directory"); continue; } if (!fh.canWrite()) { - log.log(Level.SEVERE, msgPrefix + " , which is not writeable"); + log.log(Level.SEVERE, msgPrefix + ", which is not writeable"); continue; }