comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java @ 4505:6d3426aba65d

WINFOArtifact: cosmetics, respect 80c width.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 14 Nov 2012 12:23:56 +0100
parents 5fc7df736634
children cf5ac1097d6a
comparison
equal deleted inserted replaced
4502:5b0a545fceef 4505:6d3426aba65d
183 if (calculationMode.equals("calc.discharge.longitudinal.section") 183 if (calculationMode.equals("calc.discharge.longitudinal.section")
184 ) { 184 ) {
185 return getDischargeLongitudinalSectionData(); 185 return getDischargeLongitudinalSectionData();
186 } 186 }
187 else if (calculationMode.equals("calc.extreme.curve")) { 187 else if (calculationMode.equals("calc.extreme.curve")) {
188 return (CalculationResult) this.compute(context, ComputeType.ADVANCE, false); 188 return (CalculationResult)
189 this.compute(context, ComputeType.ADVANCE, false);
189 } 190 }
190 191
191 River river = FLYSUtils.getRiver(this); 192 River river = FLYSUtils.getRiver(this);
192 if (river == null) { 193 if (river == null) {
193 return error(new WQKms[0], "no.river.selected"); 194 return error(new WQKms[0], "no.river.selected");

http://dive4elements.wald.intevation.org