[PATCH 1 of 6] Improve logger output

Wald Commits scm-commit at wald.intevation.org
Thu Dec 5 15:38:43 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1386148694 -3600
# Node ID 4b49b226abc1c7f990c8ae5cf436de9cdd54724a
# Parent  4b31a6efc2cb93f279347a97e412e354537f419c
Improve logger output.

diff -r 4b31a6efc2cb -r 4b49b226abc1 artifacts/src/main/java/org/dive4elements/river/utils/GeometryUtils.java
--- a/artifacts/src/main/java/org/dive4elements/river/utils/GeometryUtils.java	Tue Dec 03 18:00:35 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/utils/GeometryUtils.java	Wed Dec 04 10:18:14 2013 +0100
@@ -81,10 +81,10 @@
             }
         }
         catch(HibernateException iae) {
-            logger.warn("No vaild river axis found for " + rivername);
+            logger.warn("Exception, no valid river axis found for " + rivername);
             return null;
         }
-        logger.warn("No vaild river axis found for " + rivername);
+        logger.warn("No valid river axis found for " + rivername);
 
         return null;
     }


More information about the Dive4elements-commits mailing list