Fix type-inference issues in our FOSS build

Fix a few uses of Optional and any() in the IcannReporting test drivers so
that they work on bazel in JDK7.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=164888832
This commit is contained in:
mmuller 2017-08-10 12:39:46 -07:00 committed by Ben McIlwain
parent 4de8d3eae1
commit e45010f667
2 changed files with 4 additions and 4 deletions

View file

@ -172,7 +172,7 @@ public class IcannReportingUploadActionTest {
public void testSuccess_CreateBucketname() throws Exception{
assertThat(
IcannReportingUploadAction
.createReportingBucketName("gs://my-reporting", Optional.absent(), "2017-05"))
.createReportingBucketName("gs://my-reporting", Optional.<String>absent(), "2017-05"))
.isEqualTo("gs://my-reporting/icann/monthly/2017-05");
assertThat(
IcannReportingUploadAction