google-nomulus/java/google/registry/rde
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
..
imports Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
BrdaCopyAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
BUILD Use a direct reference to jsch 0.1.53 2017-10-10 12:09:42 -04:00
ContactResourceToXjcConverter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DepositFragment.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
DomainResourceToXjcConverter.java Remove obsolete TransferData.extendedRegistrationYears 2017-03-21 15:35:00 -04:00
EscrowTaskRunner.java Remove reference to TLD in Locks' ResourceName 2017-10-24 16:53:47 -04:00
Ghostryde.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
HostResourceToXjcConverter.java Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
JSchModule.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
JSchSftpChannel.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
JSchSshSession.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
PendingDeposit.java Format some imports using fix_imports.py 2017-10-24 16:53:47 -04:00
PendingDepositChecker.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
RdeAdapter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RdeCounter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RdeMarshaller.java Add the ability to generate RDE deposits in lenient mode 2017-05-17 12:22:49 -04:00
RdeModule.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
RdeReportAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
RdeReporter.java Add Runnable overrides to ease use of Java 8 language features 2017-10-24 16:53:47 -04:00
RdeResourceType.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RdeStagingAction.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
RdeStagingMapper.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
RdeStagingReducer.java Remove reference to TLD in Locks' ResourceName 2017-10-24 16:53:47 -04:00
RdeUploadAction.java Add Runnable overrides to ease use of Java 8 language features 2017-10-24 16:53:47 -04:00
RdeUploadUrl.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
RdeUtil.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RegistrarToXjcConverter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RydePgpCompressionOutputStream.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RydePgpEncryptionOutputStream.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RydePgpFileOutputStream.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RydePgpSigningOutputStream.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RydeTarOutputStream.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00