cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r125620 - /cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/coplets/basket/FolderTransformer.java
Date Wed, 19 Jan 2005 12:19:19 GMT
Author: cziegeler
Date: Wed Jan 19 04:19:16 2005
New Revision: 125620

URL: http://svn.apache.org/viewcvs?view=rev&rev=125620
Log:
Fix bug 33150 - jdk1.5 compatibility
Modified:
   cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/coplets/basket/FolderTransformer.java

Modified: cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/coplets/basket/FolderTransformer.java
Url: http://svn.apache.org/viewcvs/cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/coplets/basket/FolderTransformer.java?view=diff&rev=125620&p1=cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/coplets/basket/FolderTransformer.java&r1=125619&p2=cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/coplets/basket/FolderTransformer.java&r2=125620
==============================================================================
--- cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/coplets/basket/FolderTransformer.java
(original)
+++ cocoon/trunk/src/blocks/portal/java/org/apache/cocoon/portal/coplets/basket/FolderTransformer.java
Wed Jan 19 04:19:16 2005
@@ -98,9 +98,9 @@
             if ( parameters != null && parameters.length() > 0 ) {
                 // create hidden input fields
                 RequestParameters pars = new RequestParameters(parameters);
-                Enumeration enum = pars.getParameterNames();
-                while ( enum.hasMoreElements() ) {
-                    String pName = (String)enum.nextElement();
+                Enumeration enumPars = pars.getParameterNames();
+                while ( enumPars.hasMoreElements() ) {
+                    String pName = (String)enumPars.nextElement();
                     String pValue = pars.getParameter(pName);
                     AttributesImpl hiddenAttrs = new AttributesImpl();
                     hiddenAttrs.addCDATAAttribute("type", "hidden");

Mime
View raw message