[PATCH] Remove unused imports

Wald Commits scm-commit at wald.intevation.org
Mon Dec 28 17:47:12 CET 2015


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1451321215 -3600
# Node ID 266b599a481911cc7428a5a8904a7d47170aac88
# Parent  f099f0b22e62b69a48e0dbb6bf1af8f36fbd6d3f
Remove unused imports.

diff -r f099f0b22e62 -r 266b599a4819 artifact-database/src/main/java/org/dive4elements/artifactdatabase/DatabaseCleaner.java
--- a/artifact-database/src/main/java/org/dive4elements/artifactdatabase/DatabaseCleaner.java	Thu Dec 24 19:02:11 2015 +0100
+++ b/artifact-database/src/main/java/org/dive4elements/artifactdatabase/DatabaseCleaner.java	Mon Dec 28 17:46:55 2015 +0100
@@ -15,9 +15,7 @@
 
 import org.dive4elements.artifactdatabase.db.SQL;
 import org.dive4elements.artifactdatabase.db.SQLExecutor;
-import org.dive4elements.artifactdatabase.db.DBConnection;
 
-import java.sql.Connection;
 import java.sql.PreparedStatement;
 import java.sql.ResultSet;
 import java.sql.SQLException;
@@ -28,8 +26,6 @@
 import java.util.HashSet;
 import java.util.Collections;
 
-import javax.sql.DataSource;
-
 import org.apache.log4j.Logger;
 
 /**
diff -r f099f0b22e62 -r 266b599a4819 artifact-database/src/main/java/org/dive4elements/artifactdatabase/rest/ArtifactResource.java
--- a/artifact-database/src/main/java/org/dive4elements/artifactdatabase/rest/ArtifactResource.java	Thu Dec 24 19:02:11 2015 +0100
+++ b/artifact-database/src/main/java/org/dive4elements/artifactdatabase/rest/ArtifactResource.java	Mon Dec 28 17:46:55 2015 +0100
@@ -10,7 +10,6 @@
 
 import org.dive4elements.artifacts.common.utils.XMLUtils;
 
-import org.dive4elements.artifacts.Artifact;
 import org.dive4elements.artifacts.ArtifactDatabase;
 import org.dive4elements.artifacts.ArtifactDatabaseException;
 import org.dive4elements.artifacts.ArtifactNamespaceContext;


More information about the Dive4Elements-commits mailing list