From 49fd75300e043d12e85d590dafbd27486768c6cd Mon Sep 17 00:00:00 2001 From: mcilwain Date: Fri, 7 Oct 2016 10:50:51 -0700 Subject: [PATCH] Fix call to @CheckReturnValue method in tests that wasn't checking The exception being thrown during the build is described here: http://errorprone.info/bugpattern/CheckReturnValue. Since this is just in a test class, the most expedient thing to do is ignore the error. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135492692 --- javatests/google/registry/rde/RdeImportUtilsTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/javatests/google/registry/rde/RdeImportUtilsTest.java b/javatests/google/registry/rde/RdeImportUtilsTest.java index f318e0ba2..de20f6a24 100644 --- a/javatests/google/registry/rde/RdeImportUtilsTest.java +++ b/javatests/google/registry/rde/RdeImportUtilsTest.java @@ -141,6 +141,7 @@ public class RdeImportUtilsTest extends ShardableTestCase { /** Verifies that no errors are thrown when a valid escrow file is validated */ @Test + @SuppressWarnings("CheckReturnValue") public void testValidateEscrowFile_valid() throws Exception { xmlInput = DEPOSIT_XML.openBufferedStream(); when(gcsUtils.openInputStream(any(GcsFilename.class))).thenReturn(xmlInput);