changeset 381:4a874c664123

Removed needless imports geo-backend/trunk@415 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 11 Dec 2009 10:34:36 +0000
parents 0100ebf6630f
children 4af6379ac20b
files geo-backend/ChangeLog geo-backend/src/main/java/de/intevation/gnv/geobackend/base/DefaultResultDescriptor.java geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/container/DefaultQueryContainer.java geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/container/QueryContainer.java
diffstat 4 files changed, 8 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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	<sascha.teichmann@intevation.de>
+
+	* 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  <tim.englich@intevation.de>
 
 	* src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEResultSet.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;
     }
 }
--- 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;
--- 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;

http://dive4elements.wald.intevation.org