comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation3.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 0296684a5553
children
comparison
equal deleted inserted replaced
2165:637dd38d0e2f 2166:2898b1ff6013
23 public CalculationResult calculate(WstValueTable wst) { 23 public CalculationResult calculate(WstValueTable wst) {
24 24
25 double [] ws = wst.interpolateW(km, qs, new double[qs.length], this); 25 double [] ws = wst.interpolateW(km, qs, new double[qs.length], this);
26 26
27 if (days == null || days.length == 0) { 27 if (days == null || days.length == 0) {
28 addProblem(km, "cannot find Ds"); 28 addProblem(km, "cannot.find.ds");
29 } 29 }
30 30
31 if (logger.isDebugEnabled()) { 31 if (logger.isDebugEnabled()) {
32 logger.debug("Calculate duration curve data:"); 32 logger.debug("Calculate duration curve data:");
33 logger.debug(" km : " + km); 33 logger.debug(" km : " + km);

http://dive4elements.wald.intevation.org