changeset 46:f2648672c9c4

Removed needless imports. artifacts/trunk@165 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 01 Oct 2009 08:51:24 +0000
parents 9449f296cd54
children 4ae4dc99127d
files Changelog artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java
diffstat 3 files changed, 11 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/Changelog	Wed Sep 30 10:32:45 2009 +0000
+++ b/Changelog	Thu Oct 01 08:51:24 2009 +0000
@@ -1,3 +1,11 @@
+2009-10-01	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
+	Removed needless imports.
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java:
+	Be more verbose on output on which host the REST server is bound.
+
 2009-09-30  Hans Plum <hans@intevation.de>
 
 	* artifact-database/doc/example-conf/conf.xml, README:
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java	Wed Sep 30 10:32:45 2009 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java	Thu Oct 01 08:51:24 2009 +0000
@@ -10,15 +10,6 @@
 
 import javax.sql.DataSource;
 
-import java.io.IOException;
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.ObjectOutputStream;
-import java.io.ObjectInputStream;
-
-import java.util.zip.GZIPOutputStream;
-import java.util.zip.GZIPInputStream;
-
 import de.intevation.artifacts.Artifact;
 import de.intevation.artifacts.ArtifactFactory;
 import de.intevation.artifacts.ArtifactSerializer;
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java	Wed Sep 30 10:32:45 2009 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java	Thu Oct 01 08:51:24 2009 +0000
@@ -59,7 +59,9 @@
 
         component.getDefaultHost().attach(app);
 
-        logger.info("Starting rest HTTP server on port " + port);
+        logger.info("Starting rest HTTP server on " 
+            + (listenString != null ? listenString : "*")
+            + ":" + port);
 
         try {
             component.start();

http://dive4elements.wald.intevation.org