From 20978287f84a1fc01bb0259034543eb7b9016b24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=B0=AD=E5=86=9B?= <2799194073@qq.com> Date: Wed, 2 Oct 2019 01:47:30 +0800 Subject: [PATCH] fix-up some spelling mistakes (#2330) Signed-off-by: chentanjun <2799194073@qq.com> --- admin/src/main/resources/io/buoyant/admin/karma.conf.js | 2 +- ci/docker-publish.sh | 2 +- .../twitter/finagle/netty4/buoyant/BufferingConnectDelay.scala | 2 +- .../scala/com/twitter/finagle/buoyant/h2/BufferedStream.scala | 2 +- .../main/scala/io/netty/handler/codec/http2/H2FrameCodec.scala | 2 +- .../test/scala/io/buoyant/k8s/istio/CurrentIstioPathTest.scala | 2 +- .../io/buoyant/k8s/istio/IstioRequestAuthorizerFilterTest.scala | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/admin/src/main/resources/io/buoyant/admin/karma.conf.js b/admin/src/main/resources/io/buoyant/admin/karma.conf.js index c6216a4a3d..608a47bc0f 100644 --- a/admin/src/main/resources/io/buoyant/admin/karma.conf.js +++ b/admin/src/main/resources/io/buoyant/admin/karma.conf.js @@ -14,7 +14,7 @@ module.exports = function(config) { // list of files / patterns to load in the browser - // do not load js/main.js - we dont' want to start the app! + // do not load js/main.js - we don't want to start the app! files: [ 'spec/test-main.js', {pattern: 'spec/*.js', included: false}, diff --git a/ci/docker-publish.sh b/ci/docker-publish.sh index f213b10f0f..337a41dc63 100755 --- a/ci/docker-publish.sh +++ b/ci/docker-publish.sh @@ -15,7 +15,7 @@ if [ -n "${DOCKER_CREDENTIALS:-}" ]; then echo "$DOCKER_CREDENTIALS" > ~/.docker/config.json fi -# For debugging, alow this to be run without pushing. +# For debugging, allow this to be run without pushing. docker_target="dockerBuildAndPush" if [ "${NO_PUSH:-}" = "1" ]; then docker_target="docker" diff --git a/finagle/buoyant/src/main/scala/com/twitter/finagle/netty4/buoyant/BufferingConnectDelay.scala b/finagle/buoyant/src/main/scala/com/twitter/finagle/netty4/buoyant/BufferingConnectDelay.scala index 3aca055083..52de1c219a 100644 --- a/finagle/buoyant/src/main/scala/com/twitter/finagle/netty4/buoyant/BufferingConnectDelay.scala +++ b/finagle/buoyant/src/main/scala/com/twitter/finagle/netty4/buoyant/BufferingConnectDelay.scala @@ -26,7 +26,7 @@ private[finagle] class BufferingConnectDelay * Cancellations are propagated outward--failures, inward. * * Outbound writes are buffered until `outp` is satisfied. If the - * outward channel was connected sucessfully, the inward promise + * outward channel was connected successfully, the inward promise * is satisfied and buffered outbound writes are written. If the * outward channel fails to connect, the inward promise fails and * the promise for each buffered request is satisfied with a diff --git a/finagle/h2/src/main/scala/com/twitter/finagle/buoyant/h2/BufferedStream.scala b/finagle/h2/src/main/scala/com/twitter/finagle/buoyant/h2/BufferedStream.scala index 34339defdd..74e7f49ce1 100644 --- a/finagle/h2/src/main/scala/com/twitter/finagle/buoyant/h2/BufferedStream.scala +++ b/finagle/h2/src/main/scala/com/twitter/finagle/buoyant/h2/BufferedStream.scala @@ -22,7 +22,7 @@ import scala.util.control.NoStackTrace * * The Frames that are stored in the buffer and offered to the child Streams are refcounted and * the underlying Frame will only be released once each child Stream releases the Frame and the - * buffer itself releases the Frame. Threrefore you should always call discardBuffer on a + * buffer itself releases the Frame. Therefore you should always call discardBuffer on a * BufferedStream before it leaves scope. */ class BufferedStream(underlying: Stream, bufferCapacity: Long = 16383) { bufferedStream => diff --git a/finagle/h2/src/main/scala/io/netty/handler/codec/http2/H2FrameCodec.scala b/finagle/h2/src/main/scala/io/netty/handler/codec/http2/H2FrameCodec.scala index 23484307da..fa9b2671a7 100644 --- a/finagle/h2/src/main/scala/io/netty/handler/codec/http2/H2FrameCodec.scala +++ b/finagle/h2/src/main/scala/io/netty/handler/codec/http2/H2FrameCodec.scala @@ -9,7 +9,7 @@ import io.netty.handler.codec.http2.Http2FrameCodec.DefaultHttp2FrameStream /** * This is a direct reimplementation of io.netty.handler.codec.http2.Http2FrameCodec. * - * Thie Netty API is unstable at the moment and unsuitable for our + * This Netty API is unstable at the moment and unsuitable for our * current needs, especially with regard to initial settings and flow * control. We SHOULD feed back whatever we need to Netty, but one * step at a time. diff --git a/istio/src/test/scala/io/buoyant/k8s/istio/CurrentIstioPathTest.scala b/istio/src/test/scala/io/buoyant/k8s/istio/CurrentIstioPathTest.scala index 92387181cb..46b02f0c78 100644 --- a/istio/src/test/scala/io/buoyant/k8s/istio/CurrentIstioPathTest.scala +++ b/istio/src/test/scala/io/buoyant/k8s/istio/CurrentIstioPathTest.scala @@ -31,7 +31,7 @@ class CurrentIstioPathTest extends FunSuite { assert(CurrentIstioPath(Some(bound)) == Some(id)) } - test("returns path when path doesnt have the transfomer prefix because it came from the ingress") { + test("returns path when path doesn't have the transfomer prefix because it came from the ingress") { val id = Path.Utf8( "#", "io.l5d.k8s.istio", diff --git a/istio/src/test/scala/io/buoyant/k8s/istio/IstioRequestAuthorizerFilterTest.scala b/istio/src/test/scala/io/buoyant/k8s/istio/IstioRequestAuthorizerFilterTest.scala index 05346b99da..57d0feb32d 100644 --- a/istio/src/test/scala/io/buoyant/k8s/istio/IstioRequestAuthorizerFilterTest.scala +++ b/istio/src/test/scala/io/buoyant/k8s/istio/IstioRequestAuthorizerFilterTest.scala @@ -82,7 +82,7 @@ class IstioRequestAuthorizerFilterTest extends FunSuite with Awaits { assert(callCount == 1) } - test("doesnt call service if pre-condition check fails") { + test("doesn't call service if pre-condition check fails") { var callCount = 0 val mixerClient = new NoOpMixerClient {