Author: markt
Date: Thu Jan 23 19:01:26 2014
New Revision: 1560785

URL: http://svn.apache.org/r1560785
Log:
Remove unused code

Modified:
    tomcat/tc7.0.x/trunk/   (props changed)
    tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java

Propchange: tomcat/tc7.0.x/trunk/
------------------------------------------------------------------------------
  Merged /tomcat/trunk:r1560784

Modified: 
tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java?rev=1560785&r1=1560784&r2=1560785&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java 
(original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java 
Thu Jan 23 19:01:26 2014
@@ -832,20 +832,10 @@ public abstract class AbstractEndpoint {
     public String getSslProtocol() { return sslProtocol;}
     public void setSslProtocol(String s) { sslProtocol = s;}
 
-    // Note: Some implementations use the comma separated string, some use
-    // the array
     private String ciphers = null;
-    private String[] ciphersarr = new String[0];
-    public String[] getCiphersArray() { return this.ciphersarr;}
     public String getCiphers() { return ciphers;}
     public void setCiphers(String s) {
         ciphers = s;
-        if ( s == null ) ciphersarr = new String[0];
-        else {
-            StringTokenizer t = new StringTokenizer(s,",");
-            ciphersarr = new String[t.countTokens()];
-            for (int i=0; i<ciphersarr.length; i++ ) ciphersarr[i] = 
t.nextToken();
-        }
     }
 
     private String keyAlias = null;



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to