tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1370367 - in /tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes: membership/MemberImpl.java tipis/AbstractReplicatedMap.java
Date Tue, 07 Aug 2012 16:58:53 GMT
Author: markt
Date: Tue Aug  7 16:58:53 2012
New Revision: 1370367

URL: http://svn.apache.org/viewvc?rev=1370367&view=rev
Log:
Deprecate unused code

Modified:
    tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/membership/MemberImpl.java
    tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java

Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/membership/MemberImpl.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/membership/MemberImpl.java?rev=1370367&r1=1370366&r2=1370367&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/membership/MemberImpl.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/membership/MemberImpl.java Tue Aug
 7 16:58:53 2012
@@ -41,11 +41,21 @@ public class MemberImpl implements Membe
      * default is false
      */
     public static final boolean DO_DNS_LOOKUPS = Boolean.parseBoolean(System.getProperty("org.apache.catalina.tribes.dns_lookups","false"));
+
     /**
-     * Public properties specific to this implementation
+     * @deprecated  Unused - will be removed in Tomcat 8.0.x
      */
+    @Deprecated
     public static final transient String TCP_LISTEN_PORT = "tcpListenPort";
+    /**
+     * @deprecated  Unused - will be removed in Tomcat 8.0.x
+     */
+    @Deprecated
     public static final transient String TCP_LISTEN_HOST = "tcpListenHost";
+    /**
+     * @deprecated  Unused - will be removed in Tomcat 8.0.x
+     */
+    @Deprecated
     public static final transient String MEMBER_NAME = "memberName";
 
     public static final transient byte[] TRIBES_MBR_BEGIN = new byte[] {84, 82, 73, 66, 69,
83, 45, 66, 1, 0};

Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java?rev=1370367&r1=1370366&r2=1370367&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
(original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
Tue Aug  7 16:58:53 2012
@@ -1339,6 +1339,10 @@ public abstract class AbstractReplicated
             }
         }
 
+        /**
+         * @deprecated  Unused - will be removed in Tomcat 8.0.x
+         */
+        @Deprecated
         public MapMessage() {}
 
         public MapMessage(byte[] mapId,int msgtype, boolean diff,
@@ -1448,7 +1452,11 @@ public abstract class AbstractReplicated
                 throw new RuntimeException(x);
             }
         }
-        
+
+        /**
+         * @deprecated  Unused - will be removed in 8.0.x
+         */
+        @Deprecated
         protected Member[] readMembers(ObjectInput in) throws IOException, ClassNotFoundException
{
             int nodecount = in.readInt();
             Member[] members = new Member[nodecount];
@@ -1460,6 +1468,10 @@ public abstract class AbstractReplicated
             return members;
         }
         
+        /**
+         * @deprecated  Unused - will be removed in 8.0.x
+         */
+        @Deprecated
         protected void writeMembers(ObjectOutput out,Member[] members) throws IOException
{
             if ( members == null ) members = new Member[0];
             out.writeInt(members.length);



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


Mime
View raw message