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
(cherry picked from commit 567890da9e)
This commit is contained in:
ibaker 2023-06-14 20:32:01 +01:00 committed by Tianyi Feng
parent 648e9943e5
commit 3c9831fcb4

View file

@ -541,7 +541,7 @@ public class AsynchronousMediaCodecCallbackTest {
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) {