google-nomulus/java/google/registry/model
mcilwain 1790914058 Add Runnable overrides to ease use of Java 8 language features
Runnable and Callable are both @FunctionalInterfaces. The difference is
that Callable requires a return value whereas Runnable does not, so in
situations where we don't care about a return value, rather than having to
add an unnecessary 'return null;' at the end of the lambda, we can simply
use a non-returning Runnable instead.

Unfortunately, owing to legacy reasons, Runnable is not declared to throw
checked exceptions whereas Callable is, so in situations where checked
exceptions are thrown we still need to have a 'return null;' call at the
end.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=172935400
2017-10-24 16:53:47 -04:00
..
annotations Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
billing Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
common Add Runnable overrides to ease use of Java 8 language features 2017-10-24 16:53:47 -04:00
contact Format some imports using fix_imports.py 2017-10-24 16:53:47 -04:00
domain Format some imports using fix_imports.py 2017-10-24 16:53:47 -04:00
eppcommon Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
eppinput Format some imports using fix_imports.py 2017-10-24 16:53:47 -04:00
eppoutput Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
host Format some imports using fix_imports.py 2017-10-24 16:53:47 -04:00
index Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
mark Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ofy Add Runnable overrides to ease use of Java 8 language features 2017-10-24 16:53:47 -04:00
poll Format some imports using fix_imports.py 2017-10-24 16:53:47 -04:00
pricing Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
rde Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
registrar Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
registry Convert domain label list code to use Java 8 streams features 2017-10-24 16:53:47 -04:00
reporting Fix NPE in GetHistoryEntriesCommand 2017-10-24 16:53:47 -04:00
server Add metric for lock contention 2017-10-24 16:53:47 -04:00
smd Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
tmch Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
transfer Persist transferredRegistrationExpirationTime (exDate) on TransferData 2017-10-24 16:53:47 -04:00
translators Clarify diff display of MutatingCommand 2017-10-04 16:16:45 -04:00
BackupGroupRoot.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
BUILD Define Stackdriver metrics for premium and reserved lists 2017-03-21 14:55:00 -04:00
Buildable.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
CacheUtils.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
CreateAutoTimestamp.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
EntityClasses.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
EppResource.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
EppResourceUtils.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
ImmutableObject.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
Jsonifiable.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
JsonMapBuilder.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
ModelUtils.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
package-info.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
SchemaVersion.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
UpdateAutoTimestamp.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00