java: remove legacy note in docstring about calling includingDefaultValueFields

pull/18569/head
Anuraag (Rag) Agrawal 5 months ago committed by GitHub
parent ad8b857bdd
commit 2221ef5ae0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  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