Skip to content

Commit

Permalink
Remove = from parameter args in call to Constructor.newInstance
Browse files Browse the repository at this point in the history
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
  • Loading branch information
icbaker authored and marcbaechinger committed Jun 19, 2023
1 parent cf21add commit 567890d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ private static MediaCodec.CodecException createCodecException()
Integer.TYPE, Integer.TYPE, String.class);
constructor.setAccessible(true);
return constructor.newInstance(
/* errorCode= */ 0, /* actionCode= */ 0, /* detailMessage= */ "error from codec");
/* errorCode */ 0, /* actionCode */ 0, /* detailMessage */ "error from codec");
}

private static MediaFormat createMediaFormat(String name) {
Expand Down

0 comments on commit 567890d

Please sign in to comment.