svn commit: r422537 - /incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r422537 - /incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java

jonesde
Author: jonesde
Date: Sun Jul 16 14:18:59 2006
New Revision: 422537

URL: http://svn.apache.org/viewvc?rev=422537&view=rev
Log:
Changed name of variable from enum to avoid warning in build

Modified:
    incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java

Modified: incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java?rev=422537&r1=422536&r2=422537&view=diff
==============================================================================
--- incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java (original)
+++ incubator/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java Sun Jul 16 14:18:59 2006
@@ -504,10 +504,10 @@
     private void callRedirect(String url, HttpServletResponse resp, HttpServletRequest req) throws RequestHandlerException {
         if (Debug.infoOn()) Debug.logInfo("[Sending redirect]: " + url, module);
         // set the attributes in the session so we can access it.
-        java.util.Enumeration enum = req.getAttributeNames();
+        java.util.Enumeration attributeNameEnum = req.getAttributeNames();
         Map reqAttrMap = FastMap.newInstance();
-        while (enum.hasMoreElements()) {
-            String name = (String) enum.nextElement();
+        while (attributeNameEnum.hasMoreElements()) {
+            String name = (String) attributeNameEnum.nextElement();
             Object obj = req.getAttribute(name);
             if (obj instanceof Serializable) {
                 reqAttrMap.put(name, obj);