Skip to content

Commit

Permalink
Remove unused constructor argument GeneratedMessage.RealOneofAccessor…
Browse files Browse the repository at this point in the history
….oneOfIndex

PiperOrigin-RevId: 638505565
  • Loading branch information
mhansen authored and deannagarcia committed Jun 20, 2024
1 parent 6fa6350 commit 1f3fac3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2056,7 +2056,7 @@ public FieldAccessorTable ensureFieldAccessorsInitialized(
if (i < descriptor.getRealOneofs().size()) {
oneofs[i] =
new RealOneofAccessor(
descriptor, i, camelCaseNames[i + fieldsSize], messageClass, builderClass);
descriptor, camelCaseNames[i + fieldsSize], messageClass, builderClass);
} else {
oneofs[i] = new SyntheticOneofAccessor(descriptor, i);
}
Expand Down Expand Up @@ -2148,7 +2148,6 @@ private static interface OneofAccessor {
private static class RealOneofAccessor implements OneofAccessor {
RealOneofAccessor(
final Descriptor descriptor,
final int oneofIndex,
final String camelCaseName,
final Class<? extends GeneratedMessage> messageClass,
final Class<? extends Builder<?>> builderClass) {
Expand Down

0 comments on commit 1f3fac3

Please sign in to comment.