Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/Calculation6.java @ 5959:203c934dd669
Removed obsolete constructor.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 09 May 2013 22:07:14 +0200 |
parents | 46e85199b667 |
children | d861efa13272 |
comparison
equal
deleted
inserted
replaced
5958:a51adfc957bf | 5959:203c934dd669 |
---|---|
85 this.timerange = timerange; | 85 this.timerange = timerange; |
86 this.values = values; | 86 this.values = values; |
87 this.officialGaugeNumber = officialGaugeNumber; | 87 this.officialGaugeNumber = officialGaugeNumber; |
88 } | 88 } |
89 | 89 |
90 public Calculation6(int mode, long[] timerange, double[] values) { | |
91 this.mode = mode; | |
92 this.timerange = timerange; | |
93 this.values = values; | |
94 } | |
95 | |
96 public CalculationResult calculate() { | 90 public CalculationResult calculate() { |
97 if (hasProblems()) { | 91 if (hasProblems()) { |
98 log.warn("Parameters not valid for calculation."); | 92 log.warn("Parameters not valid for calculation."); |
99 return null; | 93 return null; |
100 } | 94 } |