Skip to content

Commit

Permalink
Fixed styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ctasada committed Jan 15, 2024
1 parent 61ec9b6 commit 7aff6ce
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ protected ProcessedOperationBinding mapToOperationBinding(SnsAsyncOperationBindi
.endpoint(SNSOperationBindingIdentifier.builder().build())
.rawMessageDelivery(true)
.build();
var snsOperationBinding = SNSOperationBinding.builder()
.consumers(List.of(consumer))
.build();
var snsOperationBinding =
SNSOperationBinding.builder().consumers(List.of(consumer)).build();
return new ProcessedOperationBinding(bindingAnnotation.type(), snsOperationBinding);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ protected ProcessedOperationBinding mapToOperationBinding(SqsAsyncOperationBindi
.name("queue-name")
.fifoQueue(true)
.build();
var operationBinding = SQSOperationBinding.builder()
.queues(List.of(queue))
.build();
var operationBinding =
SQSOperationBinding.builder().queues(List.of(queue)).build();
return new ProcessedOperationBinding(bindingAnnotation.type(), operationBinding);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ public static Map<String, ChannelBinding> buildChannelBinding(
.name("queue-name")
.fifoQueue(true)
.build();
var channelBinding = SQSChannelBinding.builder()
.queue(queue)
.build();
var channelBinding = SQSChannelBinding.builder().queue(queue).build();
return Map.of("sqs", channelBinding);
}

Expand All @@ -47,9 +45,8 @@ public static Map<String, OperationBinding> buildOperationBinding(
.name("queue-name")
.fifoQueue(true)
.build();
var operationBinding = SQSOperationBinding.builder()
.queues(List.of(queue))
.build();
var operationBinding =
SQSOperationBinding.builder().queues(List.of(queue)).build();
return Map.of("sqs", operationBinding);
}

Expand Down

0 comments on commit 7aff6ce

Please sign in to comment.