Mercurial > dive4elements > river
changeset 5812:c24820c235d9
ImportTimeInterval: Removed obsolete b parameter setting.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 24 Apr 2013 14:51:55 +0200 (2013-04-24) |
parents | 67e07c29dd29 |
children | e0ab5a566688 |
files | flys-backend/src/main/java/de/intevation/flys/importer/ImportTimeInterval.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportTimeInterval.java Wed Apr 24 14:49:00 2013 +0200 +++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportTimeInterval.java Wed Apr 24 14:51:55 2013 +0200 @@ -82,7 +82,7 @@ query.setParameter("b", stopTime); } query.setParameter("a", startTime); - query.setParameter("b", stopTime); + List<TimeInterval> intervals = query.list(); if (intervals.isEmpty()) { peer = new TimeInterval(startTime, stopTime);