Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You've got a change under "// should not be touched"

http://imgur.com/CSHnOuP



Thanks for reporting.

Actually the comment is wrong in that case using BigDecimal.valueOf() is better since it could reuse the immutable object, so that is better for memory. I'll rework the samples to make it more explicit.


Fixed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: