changeset 3742:467efea19d15

Added type safety. flys-artifacts/trunk@5425 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 10 Sep 2012 14:38:58 +0000
parents 4f161926416f
children 51f76225823b
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/extreme/Curve.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Mon Sep 10 13:15:51 2012 +0000
+++ b/flys-artifacts/ChangeLog	Mon Sep 10 14:38:58 2012 +0000
@@ -1,3 +1,8 @@
+2012-09-10	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/model/extreme/Curve.java:
+	  Added type safety.
+
 2012-09-10	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* pom.xml: Java 1.5 -> 1.6
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/extreme/Curve.java	Mon Sep 10 13:15:51 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/extreme/Curve.java	Mon Sep 10 14:38:58 2012 +0000
@@ -88,7 +88,7 @@
                 return sp;
             }
         }
-        spline = new SoftReference(sp = createSpline());
+        spline = new SoftReference<Function>(sp = createSpline());
         return sp;
     }
 

http://dive4elements.wald.intevation.org