geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: incubator-geronimo/modules/security/src/java/org/apache/geronimo/security/util URLPattern.java
Date Sun, 30 May 2004 01:25:22 GMT
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;
       }
   
  
  
  

Mime
View raw message