From 7a9040fe7fb2fc436fab15ebd9373de88084d656 Mon Sep 17 00:00:00 2001 From: Dongjoon Hyun Date: Thu, 14 Jan 2016 22:12:03 -0800 Subject: Remove redundant `the` in comments. --- java/core/src/main/java/com/google/protobuf/RopeByteString.java | 2 +- java/core/src/main/java/com/google/protobuf/UnsafeByteOperations.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'java/core') diff --git a/java/core/src/main/java/com/google/protobuf/RopeByteString.java b/java/core/src/main/java/com/google/protobuf/RopeByteString.java index 469c90c2..8badfabd 100644 --- a/java/core/src/main/java/com/google/protobuf/RopeByteString.java +++ b/java/core/src/main/java/com/google/protobuf/RopeByteString.java @@ -187,7 +187,7 @@ final class RopeByteString extends ByteString { && leftRope.getTreeDepth() > right.getTreeDepth()) { // Typically for concatenate-built strings the left-side is deeper than // the right. This is our final attempt to concatenate without - // increasing the tree depth. We'll redo the the node on the RHS. This + // increasing the tree depth. We'll redo the node on the RHS. This // is yet another optimization for building the string by repeatedly // concatenating on the right. ByteString newRight = new RopeByteString(leftRope.right, right); diff --git a/java/core/src/main/java/com/google/protobuf/UnsafeByteOperations.java b/java/core/src/main/java/com/google/protobuf/UnsafeByteOperations.java index 8806395c..f443ee39 100644 --- a/java/core/src/main/java/com/google/protobuf/UnsafeByteOperations.java +++ b/java/core/src/main/java/com/google/protobuf/UnsafeByteOperations.java @@ -38,7 +38,7 @@ import java.nio.ByteBuffer; * potentially expose the backing buffer of a {@link ByteString} to the application. * *

DISCLAIMER: The methods in this class should only be called if it is - * guaranteed that the the buffer backing the {@link ByteString} will never change! Mutation of a + * guaranteed that the buffer backing the {@link ByteString} will never change! Mutation of a * {@link ByteString} can lead to unexpected and undesirable consequences in your application, * and will likely be difficult to debug. Proceed with caution! */ -- cgit v1.2.3