changeset 5434:fd07bcaff880

Add warning if the list is empty even without an exception
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 26 Mar 2013 12:04:52 +0100
parents df32d7518f55
children 70026e3b6af3
files flys-artifacts/src/main/java/de/intevation/flys/utils/GeometryUtils.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/utils/GeometryUtils.java	Tue Mar 26 16:29:12 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/utils/GeometryUtils.java	Tue Mar 26 12:04:52 2013 +0100
@@ -73,9 +73,10 @@
             }
         }
         catch(HibernateException iae) {
-            logger.warn("No vaild river axis forund for " + rivername);
+            logger.warn("No vaild river axis found for " + rivername);
             return null;
         }
+        logger.warn("No vaild river axis found for " + rivername);
 
         return null;
     }

http://dive4elements.wald.intevation.org