You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2004/11/19 04:08:47 UTC

cvs commit: jakarta-jetspeed-2/commons/src/java/org/apache/jetspeed/security FolderPermission.java

taylor      2004/11/18 19:08:47

  Modified:    commons/src/java/org/apache/jetspeed/security
                        FolderPermission.java
  Log:
  remove logging
  
  Revision  Changes    Path
  1.3       +8 -10     jakarta-jetspeed-2/commons/src/java/org/apache/jetspeed/security/FolderPermission.java
  
  Index: FolderPermission.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/commons/src/java/org/apache/jetspeed/security/FolderPermission.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- FolderPermission.java	18 Sep 2004 05:26:28 -0000	1.2
  +++ FolderPermission.java	19 Nov 2004 03:08:47 -0000	1.3
  @@ -20,8 +20,8 @@
   
   import javax.security.auth.Subject;
   
  -import org.apache.commons.logging.Log;
  -import org.apache.commons.logging.LogFactory;
  +//import org.apache.commons.logging.Log;
  +//import org.apache.commons.logging.LogFactory;
   import org.apache.jetspeed.JetspeedActions;
   import org.apache.jetspeed.security.PortalResourcePermission;
   import org.apache.jetspeed.security.PortalResourcePermissionCollection;
  @@ -52,8 +52,11 @@
    */
   public class FolderPermission extends PortalResourcePermission
   {
  +   public static final char RECURSIVE_CHAR = '-';
  +   public static final char WILD_CHAR = '*';
  +   public static final char FOLDER_SEPARATOR = '/';
   
  -   private final static Log log = LogFactory.getLog(FolderPermission.class);
  +   //private final static Log log = LogFactory.getLog(FolderPermission.class);
   
      // does path indicate a folder? (wildcard or recursive)
      private transient boolean folder;
  @@ -61,10 +64,6 @@
      // is it a recursive directory specification?
      private transient boolean recursive;
   
  -   private static final char RECURSIVE_CHAR = '-';
  -   private static final char WILD_CHAR = '*';
  -   private static final char FOLDER_SEPARATOR = '/';
  -
      private transient String cpath;
   
      /**
  @@ -163,7 +162,6 @@
              //recursive = false;
              cpath = cpath.substring(0, --len);
          }
  -
      }
   
      /**
  @@ -289,4 +287,4 @@
      
      
   
  -}
  \ No newline at end of file
  +}
  
  
  

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