Replace boxed boolean with primitive boolean

Avoids having to call Boolean.booleanValue when passing to method.

PiperOrigin-RevId: 638837295
pull/16980/head
Mark Hansen 6 months ago committed by Copybara-Service
parent bd7078debc
commit ae95fa330e
  1. 2
      java/core/src/main/java/com/google/protobuf/GeneratedMessageLite.java

@ -220,7 +220,7 @@ public abstract class GeneratedMessageLite<
@Override
public final boolean isInitialized() {
return isInitialized((MessageType) this, Boolean.TRUE);
return isInitialized((MessageType) this, /* shouldMemoize= */ true);
}
@Override

Loading…
Cancel
Save