svn commit: r672704 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java

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

svn commit: r672704 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java

doogie-3
Author: doogie
Date: Sun Jun 29 21:45:20 2008
New Revision: 672704

URL: http://svn.apache.org/viewvc?rev=672704&view=rev
Log:
Fix double get in getDouble(no pun intended).

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java?rev=672704&r1=672703&r2=672704&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java Sun Jun 29 21:45:20 2008
@@ -621,7 +621,7 @@
         if (value instanceof BigDecimal) {
             return new Double(((BigDecimal) value).doubleValue());
         } else {
-            return (Double) get(name);
+            return (Double) value;
         }
     }