Commit Graph
3 Commits
Author SHA1 Message Date
Jacques Le Roux 8ca14ec910 Fixed: BigDecimal casting in Groovy (OFBIZ-11862)
Sometimes use wrong type castings for BigDecimal:

I have observed that for typecasting in groovy, we have used the wrong coding
pattern like

(BigDecimal) 0
It should be like
0 as BigDecimal

Note that this does not apply to decimal because in case of decimal, the default
type is always BigDecimal in Groovy.

Thanks: Pritam Kute for spotting the issue in OFBIZ-11843
2020-06-30 15:31:27 +02:00
Jacques Le Roux 492dcb9208 Improved: fixes a typo due to OFBIZ-11030
Thanks: Pierre Smits for spotting it
2020-03-26 16:11:09 +01:00
Michael Brohl b50d949376 Improved: Convert FactServices.xml minilang to groovy.
(OFBIZ-11030)

Thanks Pierre Smits for reporting and Sebastian Berg for providing the
patch.
2020-03-13 17:44:51 +01:00