Skip to content

Commit 8ab9677

Browse files
committed
Fix incorrect builder impl
1 parent c17fac6 commit 8ab9677

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/sdk-core/src/main/java/software/amazon/awssdk/core/exception/SdkServiceException.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -233,13 +233,13 @@ public Builder writableStackTrace(Boolean writableStackTrace) {
233233

234234
@Override
235235
public Builder numAttempts(Integer numAttempts) {
236-
this.numAttempts(numAttempts);
236+
this.numAttempts = numAttempts;
237237
return this;
238238
}
239239

240240
@Override
241241
public Integer numAttempts() {
242-
return this.numAttempts();
242+
return numAttempts;
243243
}
244244

245245
@Override

0 commit comments

Comments
 (0)