From 73bb080d06c7174d2049831ffb4869e3e0c01f33 Mon Sep 17 00:00:00 2001 From: "anyanwen@gmail.com" Date: Tue, 29 May 2018 09:08:24 -0700 Subject: [PATCH] fix a grammar mistake Fixes #3161 RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198404709 --- .../com/google/common/util/concurrent/SmoothRateLimiter.java | 2 +- .../com/google/common/util/concurrent/SmoothRateLimiter.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java b/android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java index 750a733f1f63..d78d7da1f7a7 100644 --- a/android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java +++ b/android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java @@ -83,7 +83,7 @@ abstract class SmoothRateLimiter extends RateLimiter { * with underutilization, then we want stored permits to be given out /faster/ than fresh ones, * because underutilization = free resources for the taking. If we are primarily interested to * deal with overflow, then stored permits could be given out /slower/ than fresh ones. Thus, we - * require a (different in each case) function that translates storedPermits to throtting time. + * require a (different in each case) function that translates storedPermits to throttling time. * * This role is played by storedPermitsToWaitTime(double storedPermits, double permitsToTake). The * underlying model is a continuous function mapping storedPermits (from 0.0 to maxStoredPermits) diff --git a/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java b/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java index 750a733f1f63..d78d7da1f7a7 100644 --- a/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java +++ b/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java @@ -83,7 +83,7 @@ abstract class SmoothRateLimiter extends RateLimiter { * with underutilization, then we want stored permits to be given out /faster/ than fresh ones, * because underutilization = free resources for the taking. If we are primarily interested to * deal with overflow, then stored permits could be given out /slower/ than fresh ones. Thus, we - * require a (different in each case) function that translates storedPermits to throtting time. + * require a (different in each case) function that translates storedPermits to throttling time. * * This role is played by storedPermitsToWaitTime(double storedPermits, double permitsToTake). The * underlying model is a continuous function mapping storedPermits (from 0.0 to maxStoredPermits)