Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/sq/SQRelationCalculation.java @ 4039:ba2f0bff0697
Removed dead code.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 04 Oct 2012 21:36:20 +0200 |
parents | 1df6984628c3 |
children | aaf810d4ec82 |
comparison
equal
deleted
inserted
replaced
4038:0189d6b0973a | 4039:ba2f0bff0697 |
---|---|
86 } | 86 } |
87 } | 87 } |
88 | 88 |
89 protected CalculationResult internalCalculate() { | 89 protected CalculationResult internalCalculate() { |
90 | 90 |
91 boolean debug = log.isDebugEnabled(); | |
92 | |
93 Function function = FunctionFactory | 91 Function function = FunctionFactory |
94 .getInstance() | 92 .getInstance() |
95 .getFunction(SQ_FUNCTION_NAME); | 93 .getFunction(SQ_FUNCTION_NAME); |
96 | 94 |
97 if (function == null) { | 95 if (function == null) { |
98 log.error("No '" + SQ_FUNCTION_NAME + "' function found."); | 96 log.error("No '" + SQ_FUNCTION_NAME + "' function found."); |
99 // TODO: i18n | 97 // TODO: i18n |
100 addProblem("sq.missing.sq.function"); | 98 addProblem("sq.missing.sq.function"); |
101 } | 99 } |
102 | |
103 String [] parameterNames = function.getParameterNames(); | |
104 | 100 |
105 Measurements measurements = | 101 Measurements measurements = |
106 MeasurementFactory.getMeasurements(river, location, period); | 102 MeasurementFactory.getMeasurements(river, location, period); |
107 | 103 |
108 SQFractionResult [] fractionResults = | 104 SQFractionResult [] fractionResults = |