mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Suppress 'unused' warning on largeBuffer local in ExoPlayerTest
PiperOrigin-RevId: 302474924
This commit is contained in:
parent
0c20462b48
commit
2cbf98bb68
1 changed files with 1 additions and 0 deletions
|
|
@ -6184,6 +6184,7 @@ public final class ExoPlayerTest {
|
||||||
new Loader.Loadable() {
|
new Loader.Loadable() {
|
||||||
@Override
|
@Override
|
||||||
public void load() throws IOException {
|
public void load() throws IOException {
|
||||||
|
@SuppressWarnings("unused") // This test needs the allocation to cause an OOM.
|
||||||
byte[] largeBuffer = new byte[Integer.MAX_VALUE];
|
byte[] largeBuffer = new byte[Integer.MAX_VALUE];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue