google-nomulus/java/google/registry
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
..
backup MOE strip compatible_with 2016-08-02 19:14:28 -04:00
bigquery MOE strip compatible_with 2016-08-02 19:14:28 -04:00
billing MOE strip compatible_with 2016-08-02 19:14:28 -04:00
braintree MOE strip compatible_with 2016-08-02 19:14:28 -04:00
config System property loader for RegistryConfig 2016-08-02 19:17:19 -04:00
cron MOE strip compatible_with 2016-08-02 19:14:28 -04:00
dns MOE strip compatible_with 2016-08-02 19:14:28 -04:00
eclipse Integrate: Eclipse file generation script 2016-05-16 18:39:45 -04:00
env Remove old DNS queue processing code. 2016-07-21 14:55:18 -04:00
export MOE strip compatible_with 2016-08-02 19:14:28 -04:00
flows MOE strip compatible_with 2016-08-02 19:14:28 -04:00
gcs MOE strip compatible_with 2016-08-02 19:14:28 -04:00
groups MOE strip compatible_with 2016-08-02 19:14:28 -04:00
idn Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
keyring/api MOE strip compatible_with 2016-08-02 19:14:28 -04:00
loadtest MOE strip compatible_with 2016-08-02 19:14:28 -04:00
mapreduce MOE strip compatible_with 2016-08-02 19:14:28 -04:00
model Fix up license headers and Python linting 2016-08-02 19:16:42 -04:00
module Refactor DnsWriter into the model package 2016-08-02 19:10:49 -04:00
monitoring/whitebox MOE strip compatible_with 2016-08-02 19:14:28 -04:00
pricing Prefer Money.zero over Money.of(currency, 0) 2016-08-02 19:17:29 -04:00
rdap MOE strip compatible_with 2016-08-02 19:14:28 -04:00
rde Fix up license headers and Python linting 2016-08-02 19:16:42 -04:00
request MOE strip compatible_with 2016-08-02 19:14:28 -04:00
security MOE strip compatible_with 2016-08-02 19:14:28 -04:00
storage/drive MOE strip compatible_with 2016-08-02 19:14:28 -04:00
tldconfig/idn MOE strip compatible_with 2016-08-02 19:14:28 -04:00
tmch MOE strip compatible_with 2016-08-02 19:14:28 -04:00
tools MOE strip compatible_with 2016-08-02 19:14:28 -04:00
ui MOE strip compatible_with 2016-08-02 19:14:28 -04:00
util MOE strip compatible_with 2016-08-02 19:14:28 -04:00
whois MOE strip compatible_with 2016-08-02 19:14:28 -04:00
xjc Fix up license headers and Python linting 2016-08-02 19:16:42 -04:00
xml MOE strip compatible_with 2016-08-02 19:14:28 -04:00
BUILD Add top-level python directory to opensource repo 2016-07-15 14:56:22 -04:00
repositories.bzl Fix up license headers and Python linting 2016-08-02 19:16:42 -04:00