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
This commit is contained in:
mcilwain 2016-10-07 10:50:51 -07:00 committed by Ben McIlwain
parent 503a10bbf8
commit 49fd75300e

View file

@ -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);