tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1367121 - /tomcat/trunk/java/org/apache/catalina/tribes/membership/McastService.java
Date Mon, 30 Jul 2012 15:32:45 GMT
Author: markt
Date: Mon Jul 30 15:32:45 2012
New Revision: 1367121

URL: http://svn.apache.org/viewvc?rev=1367121&view=rev
Log:
Remove deprecated, unused code

Modified:
    tomcat/trunk/java/org/apache/catalina/tribes/membership/McastService.java

Modified: tomcat/trunk/java/org/apache/catalina/tribes/membership/McastService.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/membership/McastService.java?rev=1367121&r1=1367120&r2=1367121&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/tribes/membership/McastService.java (original)
+++ tomcat/trunk/java/org/apache/catalina/tribes/membership/McastService.java Mon Jul 30 15:32:45
2012
@@ -173,28 +173,10 @@ public class McastService implements Mem
         properties.setProperty("mcastAddress", addr);
     }
 
-    /**
-     * @deprecated use setAddress
-     * @param addr String
-     */
-    @Deprecated
-    public void setMcastAddr(String addr) {
-        setAddress(addr);
-    }
-
     public String getAddress() {
         return properties.getProperty("mcastAddress");
     }
 
-    /**
-     * @deprecated use getAddress
-     * @return String
-     */
-    @Deprecated
-    public String getMcastAddr() {
-        return getAddress();
-    }
-
     public void setMcastBindAddress(String bindaddr) {
         setBind(bindaddr);
     }
@@ -202,28 +184,11 @@ public class McastService implements Mem
     public void setBind(String bindaddr) {
         properties.setProperty("mcastBindAddress", bindaddr);
     }
-    /**
-     * @deprecated use getBind
-     * @return String
-     */
-    @Deprecated
-    public String getMcastBindAddress() {
-        return getBind();
-    }
 
     public String getBind() {
         return properties.getProperty("mcastBindAddress");
     }
 
-    /**
-     * @deprecated use setPort
-     * @param port int
-     */
-    @Deprecated
-    public void setMcastPort(int port) {
-        setPort(port);
-    }
-
     public void setPort(int port) {
         properties.setProperty("mcastPort", String.valueOf(port));
     }
@@ -276,41 +241,15 @@ public class McastService implements Mem
         return false;
     }
 
-    /**
-     * @deprecated use getPort()
-     * @return int
-     */
-    @Deprecated
-    public int getMcastPort() {
-        return getPort();
-    }
     public int getPort() {
         String p = properties.getProperty("mcastPort");
         return new Integer(p).intValue();
     }
 
-    /**
-     * @deprecated use setFrequency
-     * @param time long
-     */
-    @Deprecated
-    public void setMcastFrequency(long time) {
-        setFrequency(time);
-    }
-
     public void setFrequency(long time) {
         properties.setProperty("mcastFrequency", String.valueOf(time));
     }
 
-    /**
-     * @deprecated use getFrequency
-     * @return long
-     */
-    @Deprecated
-    public long getMcastFrequency() {
-        return getFrequency();
-    }
-
     public long getFrequency() {
         String p = properties.getProperty("mcastFrequency");
         return new Long(p).longValue();
@@ -323,15 +262,6 @@ public class McastService implements Mem
         properties.setProperty("memberDropTime", String.valueOf(time));
     }
 
-    /**
-     * @deprecated use getDropTime
-     * @return long
-     */
-    @Deprecated
-    public long getMcastDropTime() {
-        return getDropTime();
-    }
-
     public long getDropTime() {
         String p = properties.getProperty("memberDropTime");
         return new Long(p).longValue();
@@ -569,42 +499,15 @@ public class McastService implements Mem
         }
     }
 
-    /**
-     * @deprecated use getSoTimeout
-     * @return int
-     */
-    @Deprecated
-    public int getMcastSoTimeout() {
-        return getSoTimeout();
-    }
-
     public int getSoTimeout() {
         return mcastSoTimeout;
     }
 
-    /**
-     * @deprecated use setSoTimeout
-     * @param mcastSoTimeout int
-     */
-    @Deprecated
-    public void setMcastSoTimeout(int mcastSoTimeout) {
-        setSoTimeout(mcastSoTimeout);
-    }
-
     public void setSoTimeout(int mcastSoTimeout) {
         this.mcastSoTimeout = mcastSoTimeout;
         properties.setProperty("mcastSoTimeout", String.valueOf(mcastSoTimeout));
     }
 
-    /**
-     * @deprecated use getTtl
-     * @return int
-     */
-    @Deprecated
-    public int getMcastTTL() {
-        return getTtl();
-    }
-
     public int getTtl() {
         return mcastTTL;
     }
@@ -617,15 +520,6 @@ public class McastService implements Mem
         return domain;
     }
 
-    /**
-     * @deprecated use setTtl
-     * @param mcastTTL int
-     */
-    @Deprecated
-    public void setMcastTTL(int mcastTTL) {
-        setTtl(mcastTTL);
-    }
-
     public void setTtl(int mcastTTL) {
         this.mcastTTL = mcastTTL;
         properties.setProperty("mcastTTL", String.valueOf(mcastTTL));



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


Mime
View raw message