Skip to content

Commit dd734d9

Browse files
committed
Review comments
1 parent 87de0fa commit dd734d9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

core/retries/src/main/java/software/amazon/awssdk/retries/internal/BaseRetryStrategy.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,15 +158,15 @@ public boolean useClientDefaults() {
158158

159159
/**
160160
* Computes the backoff before the first attempt, by default {@link Duration#ZERO}. Extending classes can override this method
161-
* to compute different a different depending on their logic.
161+
* to compute a different duration depending on their logic.
162162
*/
163163
protected Duration computeInitialBackoff(AcquireInitialTokenRequest request) {
164164
return Duration.ZERO;
165165
}
166166

167167
/**
168168
* Computes the backoff before a retry using the configured backoff strategy. Extending classes can override this method to
169-
* compute different a different duration depending on their logic.
169+
* compute a different duration depending on their logic.
170170
*/
171171
protected Duration computeBackoff(RefreshRetryTokenRequest request, DefaultRetryToken token) {
172172
Duration backoff;
@@ -181,7 +181,7 @@ protected Duration computeBackoff(RefreshRetryTokenRequest request, DefaultRetry
181181

182182
/**
183183
* Computes the backoff before exiting the retry loop using the configured backoff strategy. Extending classes can override
184-
* this method to compute different a different duration depending on their logic. The default implementation returns
184+
* this method to compute a different duration depending on their logic. The default implementation returns
185185
* 0 delay.
186186
*
187187
* @param request The refresh request that failed to acquire sufficient capacity.

0 commit comments

Comments
 (0)