myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r743004 - /myfaces/core/trunk_1.2.x/impl/src/main/java/org/apache/myfaces/config/impl/digester/DigesterFacesConfigDispenserImpl.java
Date Tue, 10 Feb 2009 16:03:37 GMT
Author: bommel
Date: Tue Feb 10 16:03:15 2009
New Revision: 743004

URL: http://svn.apache.org/viewvc?rev=743004&view=rev
Log:
(MYFACES-2144) <render-kit> parsing problem thanks to Val Blant for the patch

Modified:
    myfaces/core/trunk_1.2.x/impl/src/main/java/org/apache/myfaces/config/impl/digester/DigesterFacesConfigDispenserImpl.java

Modified: myfaces/core/trunk_1.2.x/impl/src/main/java/org/apache/myfaces/config/impl/digester/DigesterFacesConfigDispenserImpl.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk_1.2.x/impl/src/main/java/org/apache/myfaces/config/impl/digester/DigesterFacesConfigDispenserImpl.java?rev=743004&r1=743003&r2=743004&view=diff
==============================================================================
--- myfaces/core/trunk_1.2.x/impl/src/main/java/org/apache/myfaces/config/impl/digester/DigesterFacesConfigDispenserImpl.java
(original)
+++ myfaces/core/trunk_1.2.x/impl/src/main/java/org/apache/myfaces/config/impl/digester/DigesterFacesConfigDispenserImpl.java
Tue Feb 10 16:03:15 2009
@@ -143,10 +143,8 @@
                     converter.getConverterClass(), converter);
         }
 
-        for (Iterator iterator = config.getRenderKits().iterator(); iterator
-                .hasNext();)
+        for (RenderKit renderKit : config.getRenderKits())
         {
-            RenderKit renderKit = (RenderKit) iterator.next();
             String renderKitId = renderKit.getId();
 
             if (renderKitId == null)
@@ -158,7 +156,7 @@
 
             if (existing == null)
             {
-                renderKits.put(renderKit.getId(), renderKit);
+                renderKits.put(renderKitId, renderKit);
             }
             else
             {



Mime
View raw message