dims        2005/01/26 07:49:43

  Modified:    email/src/java/org/apache/commons/mail Email.java
  Log:
  trivial enum changes for jdk1.5 from Stefan Bodewig
  
  Revision  Changes    Path
  1.6       +6 -6      
jakarta-commons/email/src/java/org/apache/commons/mail/Email.java
  
  Index: Email.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/email/src/java/org/apache/commons/mail/Email.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Email.java        15 Jan 2005 17:15:31 -0000      1.5
  +++ Email.java        26 Jan 2005 15:49:42 -0000      1.6
  @@ -1,5 +1,5 @@
   /*
  - * Copyright 2001-2004 The Apache Software Foundation
  + * Copyright 2001-2005 The Apache Software Foundation
    *
    * Licensed under the Apache License, Version 2.0 ( the "License" );
    * you may not use this file except in compliance with the License.
  @@ -797,11 +797,11 @@
       
               if (this.headers.size() > 0)
               {
  -                Enumeration enum = this.headers.keys();
  +                Enumeration enumHeaderKeys = this.headers.keys();
       
  -                while (enum.hasMoreElements())
  +                while (enumHeaderKeys.hasMoreElements())
                   {
  -                    String name = (String) enum.nextElement();
  +                    String name = (String) enumHeaderKeys.nextElement();
                       String value = (String) headers.get(name);
                       this.message.addHeader(name, value);
                   }
  
  
  

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

Reply via email to