commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r937350 - in /commons/proper/daemon/trunk/src/samples: AloneService.java ServiceDaemon.java SimpleDaemon.java
Date Fri, 23 Apr 2010 16:03:40 GMT
Author: sebb
Date: Fri Apr 23 16:03:39 2010
New Revision: 937350

URL: http://svn.apache.org/viewvc?rev=937350&view=rev
Log:
Organise imports

Modified:
    commons/proper/daemon/trunk/src/samples/AloneService.java
    commons/proper/daemon/trunk/src/samples/ServiceDaemon.java
    commons/proper/daemon/trunk/src/samples/SimpleDaemon.java

Modified: commons/proper/daemon/trunk/src/samples/AloneService.java
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/samples/AloneService.java?rev=937350&r1=937349&r2=937350&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/samples/AloneService.java (original)
+++ commons/proper/daemon/trunk/src/samples/AloneService.java Fri Apr 23 16:03:39 2010
@@ -17,16 +17,14 @@
 
 /* @version $Id$ */
 
-import java.io.*;
-import java.net.*;
-import java.text.SimpleDateFormat;
-import java.util.Date;
-import java.util.Enumeration;
-
-import org.apache.commons.collections.ExtendedProperties;
+import java.io.File;
+import java.io.FileOutputStream;
 import java.io.IOException;
+import java.io.PrintStream;
 import java.util.Iterator;
 
+import org.apache.commons.collections.ExtendedProperties;
+
 /*
  * That is like the ServiceDaemon but it does not use the Daemon interface.
  */

Modified: commons/proper/daemon/trunk/src/samples/ServiceDaemon.java
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/samples/ServiceDaemon.java?rev=937350&r1=937349&r2=937350&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/samples/ServiceDaemon.java (original)
+++ commons/proper/daemon/trunk/src/samples/ServiceDaemon.java Fri Apr 23 16:03:39 2010
@@ -17,19 +17,16 @@
 
 /* @version $Id$ */
 
-import java.io.*;
-import java.net.*;
-import java.text.SimpleDateFormat;
-import java.util.Date;
-import java.util.Enumeration;
-import org.apache.commons.daemon.Daemon;
-import org.apache.commons.daemon.DaemonController;
-import org.apache.commons.daemon.DaemonContext;
-
-import org.apache.commons.collections.ExtendedProperties;
+import java.io.File;
+import java.io.FileOutputStream;
 import java.io.IOException;
+import java.io.PrintStream;
 import java.util.Iterator;
 
+import org.apache.commons.collections.ExtendedProperties;
+import org.apache.commons.daemon.Daemon;
+import org.apache.commons.daemon.DaemonContext;
+
 public class ServiceDaemon implements Daemon {
 
     private ExtendedProperties prop = null;

Modified: commons/proper/daemon/trunk/src/samples/SimpleDaemon.java
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/samples/SimpleDaemon.java?rev=937350&r1=937349&r2=937350&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/samples/SimpleDaemon.java (original)
+++ commons/proper/daemon/trunk/src/samples/SimpleDaemon.java Fri Apr 23 16:03:39 2010
@@ -17,15 +17,23 @@
 
 /* @version $Id$ */
 
-import java.io.*;
-import java.net.*;
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.io.PrintStream;
+import java.io.UnsupportedEncodingException;
+import java.net.ServerSocket;
+import java.net.Socket;
 import java.text.SimpleDateFormat;
 import java.util.Date;
 import java.util.Enumeration;
 import java.util.Vector;
+
 import org.apache.commons.daemon.Daemon;
-import org.apache.commons.daemon.DaemonController;
 import org.apache.commons.daemon.DaemonContext;
+import org.apache.commons.daemon.DaemonController;
 
 public class SimpleDaemon implements Daemon, Runnable {
 



Mime
View raw message