You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2002/09/22 10:49:50 UTC

cvs commit: jakarta-avalon-excalibur/loader/src/java/org/apache/excalibur/policy/runtime DefaultPolicy.java

donaldp     2002/09/22 01:49:50

  Modified:    loader/src/java/org/apache/excalibur/policy/runtime
                        DefaultPolicy.java
  Log:
  Make this class sub-class friendly.
  
  Revision  Changes    Path
  1.2       +9 -0      jakarta-avalon-excalibur/loader/src/java/org/apache/excalibur/policy/runtime/DefaultPolicy.java
  
  Index: DefaultPolicy.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/loader/src/java/org/apache/excalibur/policy/runtime/DefaultPolicy.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefaultPolicy.java	22 Sep 2002 03:17:46 -0000	1.1
  +++ DefaultPolicy.java	22 Sep 2002 08:49:50 -0000	1.2
  @@ -39,6 +39,15 @@
       }
   
       /**
  +     * Create a policy with zero entrys.
  +     * Sub-classes usually use this constructor then
  +     * invoke processGrants separately.
  +     */
  +    public DefaultPolicy()
  +    {
  +    }
  +
  +    /**
        * Process map of grants and configure Policy appropriately.
        *
        * @param grants the grants map
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>