commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r941216 - /commons/proper/daemon/trunk/src/samples/AloneService.java
Date Wed, 05 May 2010 09:21:55 GMT
Author: sebb
Date: Wed May  5 09:21:53 2010
New Revision: 941216

URL: http://svn.apache.org/viewvc?rev=941216&view=rev
Log:
Remove unthrown Exceptions

Modified:
    commons/proper/daemon/trunk/src/samples/AloneService.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=941216&r1=941215&r2=941216&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/samples/AloneService.java (original)
+++ commons/proper/daemon/trunk/src/samples/AloneService.java Wed May  5 09:21:53 2010
@@ -19,7 +19,6 @@
 
 import java.io.File;
 import java.io.FileOutputStream;
-import java.io.IOException;
 import java.io.PrintStream;
 import java.util.Iterator;
 
@@ -98,8 +97,7 @@ public class AloneService {
         }
     }
 
-    public void stop()
-    throws IOException, InterruptedException {
+    public void stop() {
         /* Dump a message */
         System.err.println("ServiceDaemon: stopping");
 



Mime
View raw message