You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2008/06/30 06:45:20 UTC
svn commit: r672704 -
/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java
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;
}
}