From 40c0b48a7f86cf5b5c19fdb4820e8806fd8fd549 Mon Sep 17 00:00:00 2001 From: Sylvain Palominos Date: Wed, 27 Nov 2019 14:24:12 +0100 Subject: [PATCH] Improve code quality. --- .../main/java/org/orbisgis/datamanagerapi/dataset/ITable.java | 1 - .../org/orbisgis/datamanagerapi/dataset/IJdbcTableTest.java | 3 +-- .../src/main/java/org/orbisgis/datamanager/JdbcTable.java | 1 - .../java/org/orbisgis/datamanager/postgis/PostgisTable.java | 2 +- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/data-manager-api/src/main/java/org/orbisgis/datamanagerapi/dataset/ITable.java b/data-manager-api/src/main/java/org/orbisgis/datamanagerapi/dataset/ITable.java index b39f250c..a411e42e 100644 --- a/data-manager-api/src/main/java/org/orbisgis/datamanagerapi/dataset/ITable.java +++ b/data-manager-api/src/main/java/org/orbisgis/datamanagerapi/dataset/ITable.java @@ -37,7 +37,6 @@ package org.orbisgis.datamanagerapi.dataset; import groovy.lang.Closure; -import org.orbisgis.datamanagerapi.dsl.IWhereBuilderOrOptionBuilder; import java.util.Collection; import java.util.List; diff --git a/data-manager-api/src/test/java/org/orbisgis/datamanagerapi/dataset/IJdbcTableTest.java b/data-manager-api/src/test/java/org/orbisgis/datamanagerapi/dataset/IJdbcTableTest.java index 12025ae3..81b7f2be 100644 --- a/data-manager-api/src/test/java/org/orbisgis/datamanagerapi/dataset/IJdbcTableTest.java +++ b/data-manager-api/src/test/java/org/orbisgis/datamanagerapi/dataset/IJdbcTableTest.java @@ -40,15 +40,14 @@ import org.junit.jupiter.api.Test; import org.orbisgis.datamanagerapi.dsl.IConditionOrOptionBuilder; import org.orbisgis.datamanagerapi.dsl.IOptionBuilder; -import org.orbisgis.datamanagerapi.dsl.IWhereBuilderOrOptionBuilder; import javax.sql.rowset.RowSetMetaDataImpl; import java.io.InputStream; import java.io.Reader; import java.math.BigDecimal; import java.net.URL; -import java.sql.*; import java.sql.Date; +import java.sql.*; import java.util.*; import static org.junit.jupiter.api.Assertions.*; diff --git a/data-manager/src/main/java/org/orbisgis/datamanager/JdbcTable.java b/data-manager/src/main/java/org/orbisgis/datamanager/JdbcTable.java index cc5efbc2..887441eb 100644 --- a/data-manager/src/main/java/org/orbisgis/datamanager/JdbcTable.java +++ b/data-manager/src/main/java/org/orbisgis/datamanager/JdbcTable.java @@ -53,7 +53,6 @@ import org.orbisgis.datamanagerapi.dataset.*; import org.orbisgis.datamanagerapi.dsl.IConditionOrOptionBuilder; import org.orbisgis.datamanagerapi.dsl.IOptionBuilder; -import org.orbisgis.datamanagerapi.dsl.IWhereBuilderOrOptionBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/data-manager/src/main/java/org/orbisgis/datamanager/postgis/PostgisTable.java b/data-manager/src/main/java/org/orbisgis/datamanager/postgis/PostgisTable.java index 54753874..4e246c7c 100644 --- a/data-manager/src/main/java/org/orbisgis/datamanager/postgis/PostgisTable.java +++ b/data-manager/src/main/java/org/orbisgis/datamanager/postgis/PostgisTable.java @@ -37,9 +37,9 @@ package org.orbisgis.datamanager.postgis; import org.h2gis.postgis_jts.StatementWrapper; -import org.orbisgis.datamanager.TableLocation; import org.orbisgis.datamanager.JdbcDataSource; import org.orbisgis.datamanager.JdbcTable; +import org.orbisgis.datamanager.TableLocation; import org.orbisgis.datamanagerapi.dataset.DataBaseType; import org.orbisgis.datamanagerapi.dataset.ISpatialTable; import org.orbisgis.datamanagerapi.dataset.ITable;