dlr         01/09/07 15:06:59

  Modified:    src/java/org/apache/turbine TemplateContext.java
  Log:
  Added containsKey() to match Fulcrum's interface.
  
  Revision  Changes    Path
  1.4       +6 -1      
jakarta-turbine-3/src/java/org/apache/turbine/TemplateContext.java
  
  Index: TemplateContext.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-3/src/java/org/apache/turbine/TemplateContext.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -u -r1.3 -r1.4
  --- TemplateContext.java      2001/09/07 21:50:33     1.3
  +++ TemplateContext.java      2001/09/07 22:06:59     1.4
  @@ -86,7 +86,12 @@
        * @return    The value that the key was mapped to, or <code>null</code>
        *            if unmapped.
        */
  -    public Object remove(Object target);
  +    public Object remove(Object key);
  +
  +    /**
  +     * Returns whether the specified key exists in this context.
  +     */
  +    public boolean containsKey(Object key);
       
       /**
        * Retrieves the set of keys of objects stored in this context.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to