Mercurial > dive4elements > river
comparison flys-aft/src/main/java/de/intevation/aft/DIPSGauge.java @ 4736:b195fede1c3b
Remove trailing whitespace.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Wed, 02 Jan 2013 13:18:31 +0100 |
parents | 83c72bc07591 |
children | f939e1e6cfa4 |
comparison
equal
deleted
inserted
replaced
4735:94b39073f0f7 | 4736:b195fede1c3b |
---|---|
38 | 38 |
39 public Datum(Element element) { | 39 public Datum(Element element) { |
40 value = Double.parseDouble(element.getAttribute("WERT")); | 40 value = Double.parseDouble(element.getAttribute("WERT")); |
41 String dateString = element.getAttribute("GUELTIGAB"); | 41 String dateString = element.getAttribute("GUELTIGAB"); |
42 if (dateString.length() == 0) { | 42 if (dateString.length() == 0) { |
43 throw | 43 throw |
44 new IllegalArgumentException("missing GUELTIGAB attribute"); | 44 new IllegalArgumentException("missing GUELTIGAB attribute"); |
45 } | 45 } |
46 Matcher m = DATE_PATTERN.matcher(dateString); | 46 Matcher m = DATE_PATTERN.matcher(dateString); |
47 if (!m.matches()) { | 47 if (!m.matches()) { |
48 throw | 48 throw |