# HG changeset patch # User Sascha L. Teichmann # Date 1342433134 0 # Node ID 1c9aaef89f516829bcf32d58c1d1bcea3b181f5a # Parent 816ceb0418b9687f2705064f91ddcbc3679690db SQ relation: Out commented debug output which caused OOM errors. flys-artifacts/trunk@5018 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 816ceb0418b9 -r 1c9aaef89f51 flys-artifacts/ChangeLog --- 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 + + * 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 * src/main/java/de/intevation/flys/artifacts/model/SQOverview.java, diff -r 816ceb0418b9 -r 1c9aaef89f51 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.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];