dion        2004/09/06 19:07:51

  Modified:    jelly/src/java/org/apache/commons/jelly Jelly.java
  Log:
  Fix JDK 1.5 compile issues
  
  Revision  Changes    Path
  1.32      +4 -4      
jakarta-commons/jelly/src/java/org/apache/commons/jelly/Jelly.java
  
  Index: Jelly.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/jelly/src/java/org/apache/commons/jelly/Jelly.java,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- Jelly.java        2 Sep 2004 07:14:14 -0000       1.31
  +++ Jelly.java        7 Sep 2004 02:07:51 -0000       1.32
  @@ -287,9 +287,9 @@
           JellyContext context = getJellyContext();
           Properties props = new Properties();
           props.load(is);
  -        Enumeration enum = props.propertyNames();
  -        while (enum.hasMoreElements()) {
  -            String key = (String) enum.nextElement();
  +        Enumeration propsEnum = props.propertyNames();
  +        while (propsEnum.hasMoreElements()) {
  +            String key = (String) propsEnum.nextElement();
               String value = props.getProperty(key);
               
               // @todo we should parse the value in case its an Expression
  
  
  

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

Reply via email to