Skip to content

Commit 567890d

Browse files
icbakermarcbaechinger
authored andcommitted
Remove = from parameter args in call to Constructor.newInstance
These comments reflect the parameter names of the constructor that we're reflectively calling, but errorprone complains that they don't match the parameter names of `Constructor.newInstance`. PiperOrigin-RevId: 540348118
1 parent cf21add commit 567890d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/exoplayer/src/test/java/androidx/media3/exoplayer/mediacodec/AsynchronousMediaCodecCallbackTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ private static MediaCodec.CodecException createCodecException()
541541
Integer.TYPE, Integer.TYPE, String.class);
542542
constructor.setAccessible(true);
543543
return constructor.newInstance(
544-
/* errorCode= */ 0, /* actionCode= */ 0, /* detailMessage= */ "error from codec");
544+
/* errorCode */ 0, /* actionCode */ 0, /* detailMessage */ "error from codec");
545545
}
546546

547547
private static MediaFormat createMediaFormat(String name) {

0 commit comments

Comments
 (0)