comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/Calculation4Access.java @ 4839:61ebb6fb2ac4

Fixed segments creation in calculation 4.
author Sascha L. Teichmann <teichmann@intevation.de>
date Wed, 23 Jan 2013 12:52:49 +0100
parents 65bfb6faa538
children c7133c1f8ede
comparison
equal deleted inserted replaced
4836:01e82da3f919 4839:61ebb6fb2ac4
36 if (segments == null) { 36 if (segments == null) {
37 String input = getString("wq_values"); 37 String input = getString("wq_values");
38 if (input == null || (input = input.trim()).length() == 0) { 38 if (input == null || (input = input.trim()).length() == 0) {
39 log.warn("no wq_values given"); 39 log.warn("no wq_values given");
40 segments = Collections.<Segment>emptyList(); 40 segments = Collections.<Segment>emptyList();
41 }
42 else {
43 segments = Segment.parseSegments(input);
41 } 44 }
42 } 45 }
43 return segments; 46 return segments;
44 } 47 }
45 48

http://dive4elements.wald.intevation.org