Author: jleroux
Date: Thu Jan 1 05:39:00 2009
New Revision: 730545
URL:
http://svn.apache.org/viewvc?rev=730545&view=revLog:
I had a look at type="Double" in *SimpleMethods*.xml, *events*.xml, *formula*.xml, *services*.xml, *tests*.xml files and I found only this one (about currency) to be changed to BigDecimal. I think others occurrences are ok since they deal about rate or quantity. Else it's not a big deal to change them, so please (Scott, David?) let me know, thanks
Modified:
ofbiz/branches/typecheckcleanup200810/applications/content/script/org/ofbiz/content/survey/SurveyServices.xml
Modified: ofbiz/branches/typecheckcleanup200810/applications/content/script/org/ofbiz/content/survey/SurveyServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/typecheckcleanup200810/applications/content/script/org/ofbiz/content/survey/SurveyServices.xml?rev=730545&r1=730544&r2=730545&view=diff==============================================================================
--- ofbiz/branches/typecheckcleanup200810/applications/content/script/org/ofbiz/content/survey/SurveyServices.xml (original)
+++ ofbiz/branches/typecheckcleanup200810/applications/content/script/org/ofbiz/content/survey/SurveyServices.xml Thu Jan 1 05:39:00 2009
@@ -743,7 +743,7 @@
<set field="responseAnswer.textResponse" from-field="answers.${currentFieldName}"/>
</if-compare>
<if-compare field="surveyQuestionAndAppl.surveyQuestionTypeId" operator="equals" value="NUMBER_CURRENCY">
- <set field="responseAnswer.currencyResponse" from-field="answers.${currentFieldName}" type="Double"/>
+ <set field="responseAnswer.currencyResponse" from-field="answers.${currentFieldName}" type="BigDecimal"/>
</if-compare>
<if-compare field="surveyQuestionAndAppl.surveyQuestionTypeId" operator="equals" value="NUMBER_FLOAT">
<set field="responseAnswer.floatResponse" from-field="answers.${currentFieldName}" type="Double"/>