Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation2.java @ 2166:2898b1ff6013
I18N for WINFO calculation result messages.
flys-artifacts/trunk@3758 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 24 Jan 2012 22:59:44 +0000 |
parents | 3b7e9ddf6bb1 |
children | c1f445b94d03 |
comparison
equal
deleted
inserted
replaced
2165:637dd38d0e2f | 2166:2898b1ff6013 |
---|---|
23 logger.debug("Calculation2.calculate"); | 23 logger.debug("Calculation2.calculate"); |
24 | 24 |
25 double [][] wqs = wst.interpolateWQ(km, this); | 25 double [][] wqs = wst.interpolateWQ(km, this); |
26 | 26 |
27 if (wqs == null || wqs[0].length == 0) { | 27 if (wqs == null || wqs[0].length == 0) { |
28 logger.debug("Cannot compute discharge curve data."); | 28 addProblem("cannot.compute.discharge.curve"); |
29 addProblem("Cannot compute discharge curve data."); | |
30 return new CalculationResult(new WQKms[0], this); | 29 return new CalculationResult(new WQKms[0], this); |
31 } | 30 } |
32 | 31 |
33 double [] ws = wqs[0]; | 32 double [] ws = wqs[0]; |
34 double [] qs = wqs[1]; | 33 double [] qs = wqs[1]; |