File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
codegen/src/main/java/software/amazon/awssdk/codegen/poet/client Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -271,9 +271,6 @@ public static MethodSpec updateRetryStrategyClientConfigurationMethod() {
271
271
.addStatement ("configuration.option($T.RETRY_STRATEGY, defaultBuilder.build())" , SdkClientOption .class )
272
272
.addStatement ("return" )
273
273
.endControlFlow ();
274
- // This might be just blindly setting the same strategy that was already configured instead of a given override, but we
275
- // don't have any means to know if the retryStrategy was overridden, that's OK compared to having to expand the API to
276
- // add a method for it, such as overriddenRetryStrategy().
277
274
builder .addStatement ("$T retryStrategy = builder.retryStrategy()" , RetryStrategy .class );
278
275
builder .beginControlFlow ("if (retryStrategy != null)" )
279
276
.addStatement ("configuration.option($T.RETRY_STRATEGY, retryStrategy)" , SdkClientOption .class )
You can’t perform that action at this time.
0 commit comments