dgraham     2003/08/11 17:31:46

  Modified:    src/share/org/apache/struts/action ActionMessages.java
  Log:
  Removed deprecated empty() method.
  
  Revision  Changes    Path
  1.10      +5 -14     
jakarta-struts/src/share/org/apache/struts/action/ActionMessages.java
  
  Index: ActionMessages.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionMessages.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ActionMessages.java       15 Apr 2003 00:14:28 -0000      1.9
  +++ ActionMessages.java       12 Aug 2003 00:31:46 -0000      1.10
  @@ -90,7 +90,6 @@
    * @version $Revision$ $Date$
    * @since Struts 1.1
    */
  -
   public class ActionMessages implements Serializable {
   
       // ----------------------------------------------------- Manifest Constants
  @@ -179,6 +178,7 @@
           if (messages == null) {
               return;
           }
  +        
           // loop over properties
           Iterator props = messages.properties();
           while (props.hasNext()) {
  @@ -200,15 +200,6 @@
   
           messages.clear();
   
  -    }
  -
  -    /**
  -     * Return <code>true</code> if there are no messages recorded
  -     * in this collection, or <code>false</code> otherwise.
  -     * @deprecated Use isEmpty instead.
  -     */
  -    public boolean empty() {
  -        return (this.isEmpty());
       }
       
       /**
  
  
  

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

Reply via email to