google-nomulus/javatests/google/registry/server
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
..
BUILD Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
Fixture.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
HealthzServlet.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RegistryTestServer.java Comment and deprecation nits 2017-02-02 17:13:47 -05:00
RegistryTestServerMain.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
Route.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ServletWrapperDelegatorServlet.java Replace Throwables.propagate and variants with Guava 20 versions 2017-02-02 17:01:23 -05:00
StaticResourceServlet.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
TestServer.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
UrlChecker.java Replace Throwables.propagate and variants with Guava 20 versions 2017-02-02 17:01:23 -05:00