google-nomulus/java/google/registry/pricing
Chris Tingue b2d5108c0c Prefer Money.zero over Money.of(currency, 0)
In the case where currency has a zero scale (i.e. JPY),
Money.of(currency, 0) throws ArithmeticException because the second
argument is handled as a double, and JPY (for example) does not allow
decimal precision, even if the decimal is zero.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=129023540
2016-08-02 19:17:29 -04:00
..
BUILD MOE strip compatible_with 2016-08-02 19:14:28 -04:00
PricingComponent.java Convert entire project to strict lexicographical import sort ordering 2016-07-13 15:59:53 -04:00
PricingEngineProxy.java Convert entire project to strict lexicographical import sort ordering 2016-07-13 15:59:53 -04:00
PricingModule.java Fix javadoc link to refer to correct annotation name 2016-08-02 19:08:35 -04:00
TldSpecificLogicProxy.java Prefer Money.zero over Money.of(currency, 0) 2016-08-02 19:17:29 -04:00