changeset 354:0970d9a7d65e

Upgraded to Apache Commons Math 2.0. gnv-artifacts/trunk@427 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 15 Dec 2009 14:12:58 +0000
parents 00d2dd4b2a7f
children fce70ff3486b
files gnv-artifacts/ChangeLog gnv-artifacts/src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java
diffstat 2 files changed, 25 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Tue Dec 15 10:31:16 2009 +0000
+++ b/gnv-artifacts/ChangeLog	Tue Dec 15 14:12:58 2009 +0000
@@ -1,23 +1,34 @@
+2009-12-15	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* pom.xml: Upgraded to Apache Commons Math 2.0. Needed for
+	  curve fitting (splines e.g)
+
+	* src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java:
+	  Use 'new DescriptiveStatistics()' instead of 
+	  'DescriptiveStatistics().newInstance()' to be compatible with new
+	  math api.
+
 2009-12-15  Tim Englich  <tim.englich@intevation.de>
 
 	* src/main/resources/lang/artifactMessages*.properties: 
 	  Added the name Productname for "horizontale Schnittprofile". to the
 	  Resources so that it could be displaied properly in the GUI
+
 2009-12-15  Tim Englich  <tim.englich@intevation.de>
 
-    * src/main/resources/lang/artifactMessages*.properties:
-      Added the required Resources for the Outputelements of "horizontale Schnittprofile".
-    * doc/conf/queries.properties: 
-      Added the specialized Queries for getting the Data and the depths for 
-      generating "horizontale Schnittprofile".
-    * src/main/java/de/intevation/gnv/state/profile/horizontal/HorizontalProfileMeshCrossOutputState.java (log): 
-      Added an new OutputTransition to handle the special Way to d detremine the required
-      Data for generating "horizontale Schnittprofile".
-    * doc/conf/conf.xml,
-      doc/conf/products/horizontalprofile/conf_mesh_cross.xml,
-      src/main/java/de/intevation/gnv/profile/horizontal/HorizontalProfileMeshCrossArtifact.java: 
-      Added Support for "Horizontales Schnittprofil"-Artifacts to the Project
-      
+	* src/main/resources/lang/artifactMessages*.properties:
+	  Added the required Resources for the Outputelements of "horizontale Schnittprofile".
+	* doc/conf/queries.properties: 
+	  Added the specialized Queries for getting the Data and the depths for 
+	  generating "horizontale Schnittprofile".
+	* src/main/java/de/intevation/gnv/state/profile/horizontal/HorizontalProfileMeshCrossOutputState.java (log): 
+	  Added an new OutputTransition to handle the special Way to d detremine the required
+	  Data for generating "horizontale Schnittprofile".
+	* doc/conf/conf.xml,
+	  doc/conf/products/horizontalprofile/conf_mesh_cross.xml,
+	  src/main/java/de/intevation/gnv/profile/horizontal/HorizontalProfileMeshCrossArtifact.java: 
+	  Added Support for "Horizontales Schnittprofil"-Artifacts to the Project
+	  
 2009-12-15  Ingo Weinzierl <ingo.weinzierl@intevation.de>
 
 	  Issue102
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java	Tue Dec 15 10:31:16 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java	Tue Dec 15 14:12:58 2009 +0000
@@ -81,7 +81,7 @@
                 break2 = row.getString("GROUP2");
                 break3 = row.getString("GROUP3");
                 lRegression = new SimpleRegression();
-                lStatistics = DescriptiveStatistics.newInstance();
+                lStatistics = new DescriptiveStatistics();
                 while (resultIterator.hasNext()) {
 
                     if (!break1.equals(row.getString("GROUP1"))

http://dive4elements.wald.intevation.org