Add explicit generic type parameters to make Java 7 build happy

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=139374166
This commit is contained in:
mcilwain 2016-11-16 13:50:55 -08:00 committed by Ben McIlwain
parent 16c53c6996
commit d2139d9825
5 changed files with 5 additions and 5 deletions

View file

@ -394,7 +394,7 @@ public class DomainAllocateFlow implements TransactionalFlow {
FeeCreateCommandExtension feeCreate = FeeCreateCommandExtension feeCreate =
eppInput.getSingleExtension(FeeCreateCommandExtension.class); eppInput.getSingleExtension(FeeCreateCommandExtension.class);
return (feeCreate == null) return (feeCreate == null)
? ImmutableList.of() ? ImmutableList.<FeeTransformResponseExtension>of()
: ImmutableList.of(createFeeCreateResponse(feeCreate, commandOperations)); : ImmutableList.of(createFeeCreateResponse(feeCreate, commandOperations));
} }

View file

@ -440,7 +440,7 @@ public class DomainCreateFlow implements TransactionalFlow {
private ImmutableList<FeeTransformResponseExtension> createResponseExtensions( private ImmutableList<FeeTransformResponseExtension> createResponseExtensions(
FeeCreateCommandExtension feeCreate, EppCommandOperations commandOperations) { FeeCreateCommandExtension feeCreate, EppCommandOperations commandOperations) {
return (feeCreate == null) return (feeCreate == null)
? ImmutableList.of() ? ImmutableList.<FeeTransformResponseExtension>of()
: ImmutableList.of(createFeeCreateResponse(feeCreate, commandOperations)); : ImmutableList.of(createFeeCreateResponse(feeCreate, commandOperations));
} }

View file

@ -217,7 +217,7 @@ public final class DomainRenewFlow implements TransactionalFlow {
private ImmutableList<FeeTransformResponseExtension> createResponseExtensions( private ImmutableList<FeeTransformResponseExtension> createResponseExtensions(
Money renewCost, FeeRenewCommandExtension feeRenew) { Money renewCost, FeeRenewCommandExtension feeRenew) {
return (feeRenew == null) return (feeRenew == null)
? ImmutableList.of() ? ImmutableList.<FeeTransformResponseExtension>of()
: ImmutableList.of(feeRenew.createResponseBuilder() : ImmutableList.of(feeRenew.createResponseBuilder()
.setCurrency(renewCost.getCurrencyUnit()) .setCurrency(renewCost.getCurrencyUnit())
.setFees(ImmutableList.of(Fee.create(renewCost.getAmount(), FeeType.RENEW))) .setFees(ImmutableList.of(Fee.create(renewCost.getAmount(), FeeType.RENEW)))

View file

@ -261,7 +261,7 @@ public final class DomainRestoreRequestFlow implements TransactionalFlow {
private static ImmutableList<FeeTransformResponseExtension> createResponseExtensions( private static ImmutableList<FeeTransformResponseExtension> createResponseExtensions(
Money restoreCost, Money renewCost, FeeUpdateCommandExtension feeUpdate) { Money restoreCost, Money renewCost, FeeUpdateCommandExtension feeUpdate) {
return (feeUpdate == null) return (feeUpdate == null)
? ImmutableList.of() ? ImmutableList.<FeeTransformResponseExtension>of()
: ImmutableList.of(feeUpdate.createResponseBuilder() : ImmutableList.of(feeUpdate.createResponseBuilder()
.setCurrency(restoreCost.getCurrencyUnit()) .setCurrency(restoreCost.getCurrencyUnit())
.setFees(ImmutableList.of( .setFees(ImmutableList.of(

View file

@ -408,7 +408,7 @@ public final class DomainTransferRequestFlow implements TransactionalFlow {
private ImmutableList<FeeTransformResponseExtension> createResponseExtensions(Money renewCost, private ImmutableList<FeeTransformResponseExtension> createResponseExtensions(Money renewCost,
FeeTransferCommandExtension feeTransfer) { FeeTransferCommandExtension feeTransfer) {
return feeTransfer == null return feeTransfer == null
? ImmutableList.of() ? ImmutableList.<FeeTransformResponseExtension>of()
: ImmutableList.of(feeTransfer.createResponseBuilder() : ImmutableList.of(feeTransfer.createResponseBuilder()
.setCurrency(renewCost.getCurrencyUnit()) .setCurrency(renewCost.getCurrencyUnit())
.setFees(ImmutableList.of(Fee.create(renewCost.getAmount(), FeeType.RENEW))) .setFees(ImmutableList.of(Fee.create(renewCost.getAmount(), FeeType.RENEW)))