changeset 3390:1c9aaef89f51

SQ relation: Out commented debug output which caused OOM errors. flys-artifacts/trunk@5018 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 16 Jul 2012 10:05:34 +0000
parents 816ceb0418b9
children 2b3c4abe034f
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Mon Jul 16 09:12:56 2012 +0000
+++ b/flys-artifacts/ChangeLog	Mon Jul 16 10:05:34 2012 +0000
@@ -1,3 +1,8 @@
+2012-07-16	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java:
+	  Out commented debug output which caused OOM errors.
+
 2012-07-16	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/model/SQOverview.java,
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java	Mon Jul 16 09:12:56 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java	Mon Jul 16 10:05:34 2012 +0000
@@ -39,6 +39,8 @@
         DateRange [] periods  = access.getPeriods();
         Double       outliers = access.getOutliers();
 
+        //river = "Rhein";
+
         if (river == null) {
             // TODO: i18n
             addProblem("sq.missing.river");
@@ -109,9 +111,11 @@
             Measurements measurements =
                 MeasurementFactory.getMeasurements(river, location, period);
 
+            /*
             if (debug) {
                 log.debug(measurements.toString());
             }
+            */
 
             SQFractionResult [] fractionResults =
                 new SQFractionResult[SQResult.NUMBER_FRACTIONS];

http://dive4elements.wald.intevation.org