java: remove legacy note in docstring about calling includingDefaultValueFields with no args (#18569)

There is no no-args version of the method anymore.

Closes #18569

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/18569 from anuraaga:patch-2 2221ef5ae0
PiperOrigin-RevId: 684079433
pull/18716/head
Anuraag (Rag) Agrawal 5 months ago committed by Copybara-Service
parent 2e37a0a0b0
commit 461004e82d
  1. 3
      java/util/src/main/java/com/google/protobuf/util/JsonFormat.java

@ -182,8 +182,7 @@ public class JsonFormat {
* Creates a new {@link Printer} that will also print default-valued fields if their
* FieldDescriptors are found in the supplied set. Empty repeated fields and map fields will be
* printed as well, if they match. The new Printer clones all other configurations from the
* current {@link Printer}. Call includingDefaultValueFields() with no args to unconditionally
* output all fields.
* current {@link Printer}.
*
* <p>Note that non-repeated message fields or fields in a oneof are not honored if provided
* here.

Loading…
Cancel
Save