From c879cccf0d740af2e2a2a779a8384d23f544eabe Mon Sep 17 00:00:00 2001 From: Mark Hansen Date: Mon, 2 Dec 2024 15:11:10 -0800 Subject: [PATCH] Fix typo in computeInt32SizeNoTag doc I think "No tag" (and the lack of a tag argument) means this is excluding tag. PiperOrigin-RevId: 702099366 --- .../src/main/java/com/google/protobuf/CodedOutputStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java b/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java index 6896f7119594c..ce9c80b38d020 100644 --- a/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java +++ b/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java @@ -690,7 +690,7 @@ public static int computeTagSize(final int fieldNumber) { } /** - * Compute the number of bytes that would be needed to encode an {@code int32} field, including + * Compute the number of bytes that would be needed to encode an {@code int32} field, excluding * tag. */ public static int computeInt32SizeNoTag(final int value) {