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 committed Jun 20, 2023
1 parent af1b9f6 commit 2b53f10
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 2b53f10

Please sign in to comment.