Skip to content

Commit e6c824c

Browse files
committed
checkstyle
1 parent 9902ec8 commit e6c824c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

core/sdk-core/src/main/java/software/amazon/awssdk/core/internal/async/FileAsyncResponseTransformerPublisher.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,10 @@ private AsyncResponseTransformer<T, T> getDelegateTransformer(Long startAt) {
166166
public void onStream(SdkPublisher<ByteBuffer> publisher) {
167167
// should never be null as per AsyncResponseTransformer runtime contract, but we never know
168168
if (delegate == null) {
169-
if (future != null) {
170-
future.completeExceptionally(new IllegalStateException("onStream called before onResponse"));
171-
}
172-
return;
169+
if (future != null) {
170+
future.completeExceptionally(new IllegalStateException("onStream called before onResponse"));
171+
}
172+
return;
173173
}
174174
delegate.onStream(publisher);
175175
}

0 commit comments

Comments
 (0)