Mercurial > lada > lada-server
changeset 1057:6d26e94b643e
Remove unused redundant arguments.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 23 Sep 2016 18:35:52 +0200 |
parents | 299f4ba86090 |
children | 0d0362fe7619 |
files | src/main/java/de/intevation/lada/factory/ProbeFactory.java |
diffstat | 1 files changed, 6 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/factory/ProbeFactory.java Wed Sep 28 09:06:18 2016 +0200 +++ b/src/main/java/de/intevation/lada/factory/ProbeFactory.java Fri Sep 23 18:35:52 2016 +0200 @@ -85,15 +85,15 @@ if ("M".equals(messprogramm.getProbenintervall())) { Calendar realStart = getStart ("M", start); - proben.addAll(generateMonth(messprogramm, realStart, end, "M")); + proben.addAll(generateMonth(messprogramm, realStart, end)); } else if ("Q".equals(messprogramm.getProbenintervall())) { Calendar realStart = getStart ("Q", start); - proben.addAll(generateQuarter(messprogramm, realStart, end, "Q")); + proben.addAll(generateQuarter(messprogramm, realStart, end)); } else if ("H".equals(messprogramm.getProbenintervall())) { Calendar realStart = getStart ("H", start); - proben.addAll(generateHalf(messprogramm, realStart, end, "H")); + proben.addAll(generateHalf(messprogramm, realStart, end)); } else { Date[][] intervals = calculateIntervals(start, end, messprogramm); @@ -159,8 +159,7 @@ private List<LProbe> generateMonth( Messprogramm messprogramm, Calendar start, - Calendar end, - String interval + Calendar end ) { int offset = messprogramm.getIntervallOffset() == null ? 0 : messprogramm.getIntervallOffset(); @@ -205,8 +204,7 @@ private List<LProbe> generateQuarter( Messprogramm messprogramm, Calendar start, - Calendar end, - String interval + Calendar end ) { int offset = messprogramm.getIntervallOffset() == null ? 0 : messprogramm.getIntervallOffset(); @@ -251,8 +249,7 @@ private List<LProbe> generateHalf( Messprogramm messprogramm, Calendar start, - Calendar end, - String interval + Calendar end ) { int offset = messprogramm.getIntervallOffset() == null ? 0 : messprogramm.getIntervallOffset();