google-nomulus/java/google/registry/ui
mcilwain d536cef20f Make Registrar load methods return Optionals instead of Nullables
This makes the code more understandable from callsites, and also forces
users of this function to deal with the situation where the registrar
with a given client ID might not be present (it was previously silently
NPEing from some of the callsites).

This also adds a test helper method loadRegistrar(clientId) that retains
the old functionality for terseness in tests. It also fixes some instances
of using the load method with the wrong cachedness -- some uses in high-
traffic situations (WHOIS) that should have caching, but also low-traffic
reporting that don't benefit from caching so might as well always be
current.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=162990468
2017-08-01 16:58:59 -04:00
..
assets Upgrade Nomulus to latest Closure Rules 2016-12-06 11:52:46 -05:00
css Set compatible_with on individual targets rather than use default_compatible_with. 2017-07-10 11:09:26 -04:00
epptmpl mv com/google/domain/registry google/registry 2016-05-13 18:55:08 -04:00
externs Set compatible_with on individual targets rather than use default_compatible_with. 2017-07-10 11:09:26 -04:00
forms Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
html Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
js Put goog.forwardDeclare()s in alphabetical order 2017-06-14 10:39:17 -04:00
server Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
soy Add missing space between {$productName} and 'and' 2017-08-01 16:44:06 -04:00
BUILD Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
compile_test.js Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
conformance_proto.txt mv com/google/domain/registry google/registry 2016-05-13 18:55:08 -04:00
ConsoleConfigModule.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ConsoleDebug.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
globals.txt Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00