google-nomulus/java/google/registry/backup
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
..
BackupModule.java Add "toTime" parameter to RestoreCommitLogsAction web form 2017-05-17 11:46:18 -04:00
BackupUtils.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
BUILD Check that CommitLogManifest exists before deletion 2017-08-29 17:02:12 -04:00
CommitLogCheckpointAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
CommitLogCheckpointStrategy.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
DeleteOldCommitLogsAction.java Add Runnable overrides to ease use of Java 8 language features 2017-10-24 16:53:47 -04:00
ExportCommitLogDiffAction.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
GcsDiffFileLister.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RestoreCommitLogsAction.java Add Runnable overrides to ease use of Java 8 language features 2017-10-24 16:53:47 -04:00