google-nomulus/java/google/registry/export
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
..
sheet Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
BigqueryPollJobAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
BUILD Setup auth settings in PublishDetailReports @Action to support tool access 2017-05-17 11:43:09 -04:00
CheckSnapshotAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
DatastoreBackupInfo.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
DatastoreBackupService.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
DriveModule.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ExportConstants.java Fix mismatch in types of Predicates being used 2017-10-04 16:16:45 -04:00
ExportDomainListsAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
ExportRequestModule.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ExportReservedTermsAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
ExportSnapshotAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
ExportUtils.java Remove UNRESERVED as a reservation type 2017-03-27 13:31:33 -04:00
LoadSnapshotAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
PublishDetailReportAction.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
SyncGroupMembersAction.java Add Runnable overrides to ease use of Java 8 language features 2017-10-24 16:53:47 -04:00
UpdateSnapshotViewAction.java Add explicit useLegacySql flag to UpdateSnapshotViewAction 2017-08-29 17:20:09 -04:00