mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
Run automatic Java 8 conversion over codebase
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171174380
This commit is contained in:
parent
44df5da771
commit
5edb7935ed
190 changed files with 2312 additions and 3096 deletions
|
@ -59,7 +59,6 @@ import java.io.IOException;
|
|||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.net.URI;
|
||||
import java.util.concurrent.Callable;
|
||||
import javax.inject.Inject;
|
||||
import javax.inject.Named;
|
||||
import org.bouncycastle.openpgp.PGPKeyPair;
|
||||
|
@ -157,12 +156,10 @@ public final class RdeUploadAction implements Runnable, EscrowTask {
|
|||
verifyFileExists(reportFilename);
|
||||
final long xmlLength = readXmlLength(xmlLengthFilename);
|
||||
retrier.callWithRetry(
|
||||
new Callable<Void>() {
|
||||
@Override
|
||||
public Void call() throws Exception {
|
||||
upload(xmlFilename, xmlLength, watermark, name);
|
||||
return null;
|
||||
}},
|
||||
() -> {
|
||||
upload(xmlFilename, xmlLength, watermark, name);
|
||||
return null;
|
||||
},
|
||||
JSchException.class);
|
||||
ofy().transact(new VoidWork() {
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue