commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r925053 - /commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/support/DaemonLoader.java
Date Fri, 19 Mar 2010 00:33:51 GMT
Author: sebb
Date: Fri Mar 19 00:33:51 2010
New Revision: 925053

URL: http://svn.apache.org/viewvc?rev=925053&view=rev
Log:
Tidy up - unused variable
Don't expose variables that have [gs]etters.

Modified:
    commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/support/DaemonLoader.java

Modified: commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/support/DaemonLoader.java
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/support/DaemonLoader.java?rev=925053&r1=925052&r2=925053&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/support/DaemonLoader.java
(original)
+++ commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/support/DaemonLoader.java
Fri Mar 19 00:33:51 2010
@@ -74,7 +74,7 @@ public final class DaemonLoader
                 throw new ClassNotFoundException(cn);
 
             /* Create a new instance of the daemon */
-            Object s = c.newInstance();
+            c.newInstance();
 
         } catch (Throwable t) {
             /* In case we encounter ANY error, we dump the stack trace and
@@ -255,7 +255,7 @@ public final class DaemonLoader
         implements DaemonController
     {
 
-        boolean available = false;
+        private boolean available = false;
 
         private Controller()
         {
@@ -350,9 +350,9 @@ public final class DaemonLoader
         implements DaemonContext
     {
 
-        DaemonController daemonController = null;
+        private DaemonController daemonController = null;
 
-        String[] args = null;
+        private String[] args = null;
 
         public DaemonController getController()
         {



Mime
View raw message