commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henn...@apache.org
Subject cvs commit: jakarta-commons/configuration/src/java/org/apache/commons/configuration XMLConfiguration.java
Date Sun, 26 Sep 2004 16:29:25 GMT
henning     2004/09/26 09:29:25

  Modified:    configuration/src/java/org/apache/commons/configuration
                        XMLConfiguration.java
  Log:
  Fix another potential ClassCastException in XMLConfiguration.
  
  Patch demanded by Ben Hutchison <ben_hutchison@yahoo.com>.
  
  Revision  Changes    Path
  1.16      +2 -2      jakarta-commons/configuration/src/java/org/apache/commons/configuration/XMLConfiguration.java
  
  Index: XMLConfiguration.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/configuration/src/java/org/apache/commons/configuration/XMLConfiguration.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- XMLConfiguration.java	23 Sep 2004 11:43:27 -0000	1.15
  +++ XMLConfiguration.java	26 Sep 2004 16:29:24 -0000	1.16
  @@ -409,7 +409,7 @@
           }
           else
           {
  -            element.setAttribute(attName, (String) value);
  +            element.setAttribute(attName, String.valueOf(value));
           }
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message