Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/access/SedimentLoadAccess.java @ 7528:d828b659a593
Fix SedimentLoadAccess logger instance.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 07 Nov 2013 09:03:34 +0100 |
parents | 866c914d5988 |
children | b60485a58d73 |
comparison
equal
deleted
inserted
replaced
7527:0ee545a02204 | 7528:d828b659a593 |
---|---|
16 | 16 |
17 | 17 |
18 public class SedimentLoadAccess | 18 public class SedimentLoadAccess |
19 extends RangeAccess | 19 extends RangeAccess |
20 { | 20 { |
21 private static final Logger logger = Logger.getLogger(BedHeightAccess.class); | 21 private static final Logger logger = Logger.getLogger(SedimentLoadAccess.class); |
22 | 22 |
23 private String time; | 23 private String time; |
24 private String unit; | 24 private String unit; |
25 | 25 |
26 public SedimentLoadAccess(D4EArtifact artifact) { | 26 public SedimentLoadAccess(D4EArtifact artifact) { |
42 time = getString("ye_select"); | 42 time = getString("ye_select"); |
43 } | 43 } |
44 return time; | 44 return time; |
45 } | 45 } |
46 | 46 |
47 /** [startyear, endyear] if its about years. */ | |
47 public int[] getPeriod() { | 48 public int[] getPeriod() { |
48 if (getYearEpoch().equals("year") ) { | 49 if (getYearEpoch().equals("year") ) { |
49 Integer start = getInteger("start"); | 50 Integer start = getInteger("start"); |
50 Integer end = getInteger("end"); | 51 Integer end = getInteger("end"); |
51 if (start == null || end == null) { | 52 if (start == null || end == null) { |