From 68a22646802d6483b4084e83693a9d9e48a8ddd8 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sun, 19 Mar 2017 10:29:19 -0700 Subject: [PATCH] Remove some some duplicate words --- CHANGELOG.md | 4 ++-- .../test/java/okhttp3/internal/http2/Http2ConnectionTest.java | 2 +- okhttp/src/main/java/okhttp3/internal/Util.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4242fa8bdf08..bd73498366d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -53,7 +53,7 @@ _2016-11-30_ * New: Expose `Part` headers and body in `Multipart`. * New: Make `ResponseBody.string()` and `ResponseBody.charStream()` BOM-aware. If your HTTP response body begins with a [byte order mark][bom] it will be consumed and used to select a - charset for the remaining bytes. Most applications should not not need a byte order mark. + charset for the remaining bytes. Most applications should not need a byte order mark. * New: Upgrade to Okio 1.11.0. @@ -754,7 +754,7 @@ _2014-12-30_ * New: APIs to iterate and selectively clear the response cache. * New: Support for SOCKS proxies. * New: Support for `TLS_FALLBACK_SCSV`. - * New: Update HTTP/2 support to to `h2-16` and `hpack-10`. + * New: Update HTTP/2 support to `h2-16` and `hpack-10`. * New: APIs to prevent retrying non-idempotent requests. * Fix: Drop NPN support. Going forward we support ALPN only. * Fix: The hostname verifier is now strict. This is consistent with the hostname diff --git a/okhttp-tests/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.java b/okhttp-tests/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.java index 18fcab5a1221..c8af96913ba6 100644 --- a/okhttp-tests/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.java +++ b/okhttp-tests/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.java @@ -1534,7 +1534,7 @@ public final class Http2ConnectionTest { assertEquals(0, connection.bytesLeftInWriteWindow); assertEquals(0, connection.getStream(3).bytesLeftInWriteWindow); - // receiving a window update on the the connection will unblock new streams. + // receiving a window update on the connection will unblock new streams. connection.readerRunnable.windowUpdate(0, 3); assertEquals(3, connection.bytesLeftInWriteWindow); diff --git a/okhttp/src/main/java/okhttp3/internal/Util.java b/okhttp/src/main/java/okhttp3/internal/Util.java index 043228f62d92..494e8ea73dc3 100644 --- a/okhttp/src/main/java/okhttp3/internal/Util.java +++ b/okhttp/src/main/java/okhttp3/internal/Util.java @@ -204,7 +204,7 @@ public static ThreadFactory threadFactory(final String name, final boolean daemo } /** - * Returns an array containing containing only elements found in {@code first} and also in {@code + * Returns an array containing only elements found in {@code first} and also in {@code * second}. The returned elements are in the same order as in {@code first}. */ @SuppressWarnings("unchecked")