tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1003485 - /tomcat/trunk/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java
Date Fri, 01 Oct 2010 11:15:56 GMT
Author: markt
Date: Fri Oct  1 11:15:56 2010
New Revision: 1003485

URL: http://svn.apache.org/viewvc?rev=1003485&view=rev
Log:
Fix Eclipse warnings

Modified:
    tomcat/trunk/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java

Modified: tomcat/trunk/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java?rev=1003485&r1=1003484&r2=1003485&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java (original)
+++ tomcat/trunk/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java Fri Oct 
1 11:15:56 2010
@@ -167,6 +167,7 @@ public class JmxRemoteLifecycleListener 
     }
     
 
+    @Override
     public void lifecycleEvent(LifecycleEvent event) {
         // When the server starts, configure JMX/RMI
         if (Lifecycle.START_EVENT == event.getType()) {
@@ -284,6 +285,8 @@ public class JmxRemoteLifecycleListener 
 
     public static class RmiClientLocalhostSocketFactory
     implements RMIClientSocketFactory, Serializable {
+        private static final long serialVersionUID = 1L;
+
         private static final String FORCED_HOST = "localhost";
 
         private RMIClientSocketFactory factory = null;
@@ -292,6 +295,7 @@ public class JmxRemoteLifecycleListener 
             factory = theFactory;
         }
 
+        @Override
         public Socket createSocket(String host, int port) throws IOException {
             if (factory == null) {
                 return new Socket(FORCED_HOST, port);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message