# HG changeset patch # User Sascha L. Teichmann # Date 1260527676 0 # Node ID 4a874c66412323a64d389ede26d7e03ad9f15dde # Parent 0100ebf6630f0bb4d9bfadebfef4d7bfb073077b Removed needless imports geo-backend/trunk@415 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 0100ebf6630f -r 4a874c664123 geo-backend/ChangeLog --- a/geo-backend/ChangeLog Mon Nov 30 14:51:09 2009 +0000 +++ b/geo-backend/ChangeLog Fri Dec 11 10:34:36 2009 +0000 @@ -1,3 +1,10 @@ +2009-12-11 Sascha L. Teichmann + + * src/main/java/de/intevation/gnv/geobackend/base/DefaultResultDescriptor.java, + src/main/java/de/intevation/gnv/geobackend/base/query/container/QueryContainer.java, + src/main/java/de/intevation/gnv/geobackend/base/query/container/DefaultQueryContainer.java: + Removed needless imports. + 2009-11-30 Tim Englich * src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEResultSet.java, diff -r 0100ebf6630f -r 4a874c664123 geo-backend/src/main/java/de/intevation/gnv/geobackend/base/DefaultResultDescriptor.java --- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/base/DefaultResultDescriptor.java Mon Nov 30 14:51:09 2009 +0000 +++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/base/DefaultResultDescriptor.java Fri Dec 11 10:34:36 2009 +0000 @@ -96,9 +96,6 @@ public int getColumnIndex(String columnName) { Integer value = this.columnIndexLookup.get(columnName); - if (value != null){ - return value.intValue(); - } - return -1; + return value != null ? value.intValue() : -1; } } diff -r 0100ebf6630f -r 4a874c664123 geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/container/DefaultQueryContainer.java --- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/container/DefaultQueryContainer.java Mon Nov 30 14:51:09 2009 +0000 +++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/container/DefaultQueryContainer.java Fri Dec 11 10:34:36 2009 +0000 @@ -3,8 +3,6 @@ */ package de.intevation.gnv.geobackend.base.query.container; -import java.util.ArrayList; -import java.util.Collection; import java.util.Properties; import de.intevation.gnv.geobackend.base.query.container.exception.QueryContainerException; diff -r 0100ebf6630f -r 4a874c664123 geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/container/QueryContainer.java --- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/container/QueryContainer.java Mon Nov 30 14:51:09 2009 +0000 +++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/container/QueryContainer.java Fri Dec 11 10:34:36 2009 +0000 @@ -3,7 +3,6 @@ */ package de.intevation.gnv.geobackend.base.query.container; -import java.util.Collection; import java.util.Properties; import de.intevation.gnv.geobackend.base.query.container.exception.QueryContainerException;