lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andr...@apache.org
Subject cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/ac2/file FilePolicyManager.java
Date Thu, 07 Aug 2003 10:23:02 GMT
andreas     2003/08/07 03:23:02

  Modified:    src/java/org/apache/lenya/cms/ac2/file
                        FilePolicyManager.java
  Log:
  added some debug messages
  
  Revision  Changes    Path
  1.13      +4 -2      cocoon-lenya/src/java/org/apache/lenya/cms/ac2/file/FilePolicyManager.java
  
  Index: FilePolicyManager.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/ac2/file/FilePolicyManager.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- FilePolicyManager.java	24 Jul 2003 18:36:37 -0000	1.12
  +++ FilePolicyManager.java	7 Aug 2003 10:23:02 -0000	1.13
  @@ -181,6 +181,7 @@
        * @throws AccessControlException when something went wrong.
        */
       public void saveURLPolicy(String url, DefaultPolicy policy) throws AccessControlException
{
  +        getLogger().debug("Saving URL policy for URL [" + url + "]");
           savePolicy(url, policy, URL_FILENAME);
       }
   
  @@ -191,6 +192,7 @@
        * @throws AccessControlException when something went wrong.
        */
       public void saveSubtreePolicy(String url, DefaultPolicy policy) throws AccessControlException
{
  +        getLogger().debug("Saving subtree policy for URL [" + url + "]");
           savePolicy(url, policy, SUBTREE_FILENAME);
       }
   
  @@ -203,7 +205,7 @@
        */
       protected void savePolicy(String url, DefaultPolicy policy, String filename)
           throws AccessControlException {
  -
  +            
           String key = getCacheKey(url);
           cache.remove(key);
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org


Mime
View raw message