tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1345030 - /tomcat/trunk/java/org/apache/catalina/deploy/ServletDef.java
Date Fri, 01 Jun 2012 09:41:18 GMT
Author: markt
Date: Fri Jun  1 09:41:18 2012
New Revision: 1345030

URL: http://svn.apache.org/viewvc?rev=1345030&view=rev
Log:
Remove unnecessary code

Modified:
    tomcat/trunk/java/org/apache/catalina/deploy/ServletDef.java

Modified: tomcat/trunk/java/org/apache/catalina/deploy/ServletDef.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/deploy/ServletDef.java?rev=1345030&r1=1345029&r2=1345030&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/deploy/ServletDef.java (original)
+++ tomcat/trunk/java/org/apache/catalina/deploy/ServletDef.java Fri Jun  1 09:41:18 2012
@@ -213,20 +213,6 @@ public class ServletDef implements Seria
     }
 
     /**
-     * Add a security-role-ref to the set of security-role-refs associated
-     * with this servlet.
-     * @deprecated
-     */
-    @Deprecated
-    public void addSecurityRoleRef(String roleName, String roleLink) {
-        SecurityRoleRef srr = new SecurityRoleRef();
-        srr.setName(roleName);
-        srr.setLink(roleLink);
-        securityRoleRefs.add(srr);
-    }
-
-
-    /**
      * The multipart configuration, if any, for this servlet
      */
     private MultipartDef multipartDef = null;



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


Mime
View raw message