Mercurial > lada > lada-server
changeset 1078:7974d3cc974f
Remove verbose logging in potentially heavily used function.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 30 Sep 2016 22:39:48 +0200 |
parents | 7143cd96d3de |
children | e544d76a311f |
files | src/main/java/de/intevation/lada/factory/ProbeFactory.java |
diffstat | 1 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/factory/ProbeFactory.java Fri Sep 30 18:41:12 2016 +0200 +++ b/src/main/java/de/intevation/lada/factory/ProbeFactory.java Fri Sep 30 22:39:48 2016 +0200 @@ -133,7 +133,6 @@ if (subIntField == intervallField) { return intervallFactor; } - logger.debug("## calculate maximum ##"); int duration = 0; Calendar tmp = (Calendar)from.clone(); /* reset to beginning of intervall, e.g. first day of quarter @@ -145,23 +144,18 @@ intValue - intValue % intervallFactor ); tmp.set(subIntField, tmp.getActualMinimum(subIntField)); - logger.debug(tmp); for (int i = 0; i < intervallFactor; i++) { - logger.debug(tmp.getActualMaximum(subIntField)); duration += tmp.getActualMaximum(subIntField); tmp.add(intervallField, 1); } - logger.debug(duration); return duration; } public Date getFrom() { - logger.debug("getFrom() from: " + from); return from.getTime(); } public Date getTo() { - logger.debug("getTo() from: " + from); Calendar to = (Calendar)from.clone(); to = adjustSubIntField(to, teilBis); return to.getTime(); @@ -335,9 +329,6 @@ if (probe != null) { proben.add(probe); } - } else { - logger.debug(solldatumBeginnDOY + " not within validity " - + actualGueltigVon + " to " + actualGueltigBis); } }