Remove unused constructor argument "descriptor" from GeneratedMessage.SingularFieldAccessor.ReflectionInvoker

PiperOrigin-RevId: 636724038
pull/16922/head
Mark Hansen 6 months ago committed by Copybara-Service
parent f16c59c5a8
commit ee98ba2c18
  1. 2
      java/core/src/main/java/com/google/protobuf/GeneratedMessage.java

@ -2265,7 +2265,6 @@ public abstract class GeneratedMessage extends AbstractMessage implements Serial
private final Method caseMethodBuilder; private final Method caseMethodBuilder;
ReflectionInvoker( ReflectionInvoker(
final FieldDescriptor descriptor,
final String camelCaseName, final String camelCaseName,
final Class<? extends GeneratedMessage> messageClass, final Class<? extends GeneratedMessage> messageClass,
final Class<? extends Builder<?>> builderClass, final Class<? extends Builder<?>> builderClass,
@ -2344,7 +2343,6 @@ public abstract class GeneratedMessage extends AbstractMessage implements Serial
hasHasMethod = descriptor.hasPresence(); hasHasMethod = descriptor.hasPresence();
ReflectionInvoker reflectionInvoker = ReflectionInvoker reflectionInvoker =
new ReflectionInvoker( new ReflectionInvoker(
descriptor,
camelCaseName, camelCaseName,
messageClass, messageClass,
builderClass, builderClass,

Loading…
Cancel
Save