Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/common/EpochYearAccessHelper.java @ 9178:2f5052835b76
uinfo inundationduration langjÀhr. Mittel, Uedauern.properties, Meldung
author | gernotbelger |
---|---|
date | Tue, 26 Jun 2018 19:48:35 +0200 |
parents | 9b4f5e61c02e |
children |
comparison
equal
deleted
inserted
replaced
9177:37db8c4c44b7 | 9178:2f5052835b76 |
---|---|
41 } | 41 } |
42 | 42 |
43 /** [year1, years2,..] if its about years. */ | 43 /** [year1, years2,..] if its about years. */ |
44 public int[] getYears(final String yearSelectedValue, final String yearKey) { | 44 public int[] getYears(final String yearSelectedValue, final String yearKey) { |
45 int[] years = null; | 45 int[] years = null; |
46 // if (years != null) { | 46 |
47 // return years; | |
48 // } | |
49 if (getYearEpoch().equals(yearSelectedValue)) { | 47 if (getYearEpoch().equals(yearSelectedValue)) { |
50 final TIntArrayList ints = new TIntArrayList(); | 48 final TIntArrayList ints = new TIntArrayList(); |
51 final String yearsData = getString(yearKey); | 49 final String yearsData = getString(yearKey); |
52 if (yearsData == null || yearsData.isEmpty()) { | 50 if (yearsData == null || yearsData.isEmpty()) { |
53 log.warn("No years provided"); | 51 log.warn("No years provided"); |