diff flys-artifacts/ChangeLog @ 2989:ee3dbc4a802d

Added more checks in CrossSectionFactory.isNewst() to prevent IndexOutOfBoundsExceptions. flys-artifacts/trunk@4536 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Sun, 27 May 2012 13:35:15 +0000
parents 5a8ec40752ea
children fe987587ebc9 749a40c76ca3
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Sun May 27 10:50:11 2012 +0000
+++ b/flys-artifacts/ChangeLog	Sun May 27 13:35:15 2012 +0000
@@ -1,3 +1,10 @@
+2012-05-27  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java:
+	  CrossSectionFactory.isNewest() will return true if the CrossSection is
+	  the only CrossSection found in the database. No IndexOutOfBounds is
+	  thrown.
+
 2012-05-27  Ingo Weinzierl <ingo@intevation.de>
 
 	* Tagged module as '2.7'.

http://dive4elements.wald.intevation.org