From b206cff98c07ebee1aa375c4f112ef947d2d7ee1 Mon Sep 17 00:00:00 2001 From: eguven Date: Thu, 9 Jun 2016 04:28:40 -0700 Subject: [PATCH] FakeExtractorInput: Fix exception type ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124446331 --- .../google/android/exoplayer/testutil/FakeExtractorInput.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testutils/src/main/java/com/google/android/exoplayer/testutil/FakeExtractorInput.java b/testutils/src/main/java/com/google/android/exoplayer/testutil/FakeExtractorInput.java index b6f0544c19..2499431d7f 100644 --- a/testutils/src/main/java/com/google/android/exoplayer/testutil/FakeExtractorInput.java +++ b/testutils/src/main/java/com/google/android/exoplayer/testutil/FakeExtractorInput.java @@ -212,7 +212,7 @@ public final class FakeExtractorInput implements ExtractorInput { throw new EOFException(); } if (position + length > data.length) { - throw new IOException("Attempted to move past end of data: (" + position + " + " + throw new EOFException("Attempted to move past end of data: (" + position + " + " + length + ") > " + data.length); } return true;