Closed GoogleCodeExporter closed 9 years ago
Thank you for the very clear report.
Original comment by aso...@gmail.com
on 31 Dec 2009 at 9:45
If you need urgently the fix please take the latest source.
This is the test:
http://code.google.com/p/snakeyaml/source/browse/src/test/java/org/yaml/snakeyam
l/issues/issue40/DogFoodBeanTest.java?spec=svnbd994466ca570d4a1461c39407ac098c1a
08d260&r=bd994466ca570d4a1461c39407ac098c1a08d260
Since I am not happy with the implementation I would like to refactor the
source to
fix the issue properly. It may take more time.
Original comment by aso...@gmail.com
on 2 Jan 2010 at 2:23
[deleted comment]
Fixed.
(Ignore tags when they are compatible with the JavaBean runtime class)
Now the tag !!float is ignored in favor of the BigDecimal runtime class:
!!org.yaml.snakeyaml.issues.issue40.DogFoodBean {decimal: !!float '5'}
Original comment by aso...@gmail.com
on 4 Jan 2010 at 12:13
Original issue reported on code.google.com by
sitri...@gmail.com
on 31 Dec 2009 at 7:08