comparison flys-artifacts/src/main/java/de/intevation/flys/utils/GeometryUtils.java @ 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 9d36ddf7dbd3
children
comparison
equal deleted inserted replaced
5433:df32d7518f55 5434:fd07bcaff880
71 71
72 return max; 72 return max;
73 } 73 }
74 } 74 }
75 catch(HibernateException iae) { 75 catch(HibernateException iae) {
76 logger.warn("No vaild river axis forund for " + rivername); 76 logger.warn("No vaild river axis found for " + rivername);
77 return null; 77 return null;
78 } 78 }
79 logger.warn("No vaild river axis found for " + rivername);
79 80
80 return null; 81 return null;
81 } 82 }
82 83
83 public static String getRiverBounds(String rivername) { 84 public static String getRiverBounds(String rivername) {

http://dive4elements.wald.intevation.org