Author: doogie
Date: Sun Jun 29 21:45:20 2008
New Revision: 672704
URL:
http://svn.apache.org/viewvc?rev=672704&view=revLog:
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;
}
}