tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1066571 - in /tomcat/trunk/java/org/apache/catalina/ha: ClusterListener.java ClusterMessageBase.java
Date Wed, 02 Feb 2011 18:35:29 GMT
Author: markt
Date: Wed Feb  2 18:35:29 2011
New Revision: 1066571

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

Modified:
    tomcat/trunk/java/org/apache/catalina/ha/ClusterListener.java
    tomcat/trunk/java/org/apache/catalina/ha/ClusterMessageBase.java

Modified: tomcat/trunk/java/org/apache/catalina/ha/ClusterListener.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/ClusterListener.java?rev=1066571&r1=1066570&r2=1066571&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/ha/ClusterListener.java (original)
+++ tomcat/trunk/java/org/apache/catalina/ha/ClusterListener.java Wed Feb  2 18:35:29 2011
@@ -80,9 +80,11 @@ public abstract class ClusterListener im
 
     //--Logic---------------------------------------------------
 
+    @Override
     public final void messageReceived(Serializable msg, Member member) {
         if ( msg instanceof ClusterMessage ) messageReceived((ClusterMessage)msg);
     }
+    @Override
     public final boolean accept(Serializable msg, Member member) {
         if ( msg instanceof ClusterMessage ) return true;
         return false;

Modified: tomcat/trunk/java/org/apache/catalina/ha/ClusterMessageBase.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/ClusterMessageBase.java?rev=1066571&r1=1066570&r2=1066571&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/ha/ClusterMessageBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/ha/ClusterMessageBase.java Wed Feb  2 18:35:29 2011
@@ -47,14 +47,17 @@ public class ClusterMessageBase implemen
      * @return Member
      * TODO Implement this org.apache.catalina.ha.ClusterMessage method
      */
+    @Override
     public Member getAddress() {
         return address;
     }
 
+    @Override
     public String getUniqueId() {
         return uniqueId;
     }
 
+    @Override
     public long getTimestamp() {
         return timestamp;
     }
@@ -65,14 +68,17 @@ public class ClusterMessageBase implemen
      * @param member Member
      * TODO Implement this org.apache.catalina.ha.ClusterMessage method
      */
+    @Override
     public void setAddress(Member member) {
         this.address = member;
     }
 
+    @Override
     public void setUniqueId(String uniqueId) {
         this.uniqueId = uniqueId;
     }
 
+    @Override
     public void setTimestamp(long timestamp) {
         this.timestamp = timestamp;
     }



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


Mime
View raw message