# HG changeset patch # User Sascha L. Teichmann # Date 1260886378 0 # Node ID 0970d9a7d65ea7f2066d2dce0ab83743d0bdd809 # Parent 00d2dd4b2a7f3e95abf6d1536881dcdc7776123f Upgraded to Apache Commons Math 2.0. gnv-artifacts/trunk@427 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 00d2dd4b2a7f -r 0970d9a7d65e gnv-artifacts/ChangeLog --- 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 + + * 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 * 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 - * 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 Issue102 diff -r 00d2dd4b2a7f -r 0970d9a7d65e gnv-artifacts/src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java --- 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"))