svn commit: r711757 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java

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

svn commit: r711757 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java

doogie-3
Author: doogie
Date: Wed Nov  5 18:46:21 2008
New Revision: 711757

URL: http://svn.apache.org/viewvc?rev=711757&view=rev
Log:
Rename a variable called foo to conversion.

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java?rev=711757&r1=711756&r2=711757&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java Wed Nov  5 18:46:21 2008
@@ -537,10 +537,10 @@
     }
 
     public List<Map<String, Object>> convert(String fromEntityName, Map<String, Object> data) {
-        Map<String, ModelConversion> foo = conversions.get(fromEntityName);
-        if (foo == null) return null;
+        Map<String, ModelConversion> conversions = this.conversions.get(fromEntityName);
+        if (conversions == null) return null;
         List<Map<String, Object>> values = FastList.newInstance();
-        for (ModelConversion conversion: foo.values()) {
+        for (ModelConversion conversion: conversions.values()) {
             values.add(conversion.convert(data));
         }
         return values;