You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ad...@apache.org on 2004/05/30 03:25:22 UTC

cvs commit: incubator-geronimo/modules/security/src/java/org/apache/geronimo/security/util URLPattern.java

adc         2004/05/29 18:25:21

  Modified:    modules/security/src/java/org/apache/geronimo/security/util
                        URLPattern.java
  Log:
  Made some methods public.
  
  Revision  Changes    Path
  1.4       +10 -10    incubator-geronimo/modules/security/src/java/org/apache/geronimo/security/util/URLPattern.java
  
  Index: URLPattern.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/security/src/java/org/apache/geronimo/security/util/URLPattern.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- URLPattern.java	10 Mar 2004 09:59:27 -0000	1.3
  +++ URLPattern.java	30 May 2004 01:25:21 -0000	1.4
  @@ -70,7 +70,7 @@
        * @param patterns the set of possible URL patterns that could be used to qualify this pattern
        * @return a qualifed URL pattern
        */
  -    String getQualifiedPattern(HashSet patterns) {
  +    public String getQualifiedPattern(HashSet patterns) {
           if (type == EXACT) {
               return pattern;
           } else {
  @@ -101,7 +101,7 @@
        * the set of all HTTP methods.
        * @param method the HTTP method to be added to the set.
        */
  -    void addMethod(String method) {
  +    public void addMethod(String method) {
           if (method.length() == 0) {
               mask = 0xFF;
               return;
  @@ -123,7 +123,7 @@
        * Return the set of HTTP methods that have been associated with this URL pattern.
        * @return a set of HTTP methods
        */
  -    String getMethods() {
  +    public String getMethods() {
           StringBuffer buffer = null;
   
           for (int i = 0; i < HTTP_MASKS.length; i++) {
  @@ -140,7 +140,7 @@
           return (buffer == null ? "" : buffer.toString());
       }
   
  -    String getComplementedMethods() {
  +    public String getComplementedMethods() {
           StringBuffer buffer = null;
   
           for (int i = 0; i < HTTP_MASKS.length; i++) {
  @@ -157,7 +157,7 @@
           return (buffer == null ? "" : buffer.toString());
       }
   
  -    String getMethodsWithTransport() {
  +    public String getMethodsWithTransport() {
           StringBuffer buffer = new StringBuffer(getMethods());
   
   
  @@ -176,7 +176,7 @@
           return buffer.toString();
       }
   
  -    void setTransport(String trans) {
  +    public void setTransport(String trans) {
           switch (transport) {
               case NA:
                   {
  @@ -198,15 +198,15 @@
           }
       }
   
  -    void addRole(String role) {
  +    public void addRole(String role) {
           roles.add(role);
       }
   
  -    void addAllRoles(Collection collection) {
  +    public void addAllRoles(Collection collection) {
           roles.addAll(collection);
       }
   
  -    HashSet getRoles() {
  +    public HashSet getRoles() {
           return roles;
       }