Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Apply spotless #3537

Merged
merged 1 commit into from
Mar 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ public void handle(ObservableQueue queue, Message msg) {
// from the queue
queue.publish(Collections.singletonList(msg));
LOGGER.debug("Message: {} published to queue: {}", msg.getId(), queue.getName());
}
else {
} else {
queue.nack(Collections.singletonList(msg));
LOGGER.debug("Message: {} nacked on queue: {}", msg.getId(), queue.getName());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@ public interface ObservableQueue extends Lifecycle {
/**
* @param messages to be Nack'ed
*/
default void nack(List<Message> messages)
{

}
default void nack(List<Message> messages) {}

/**
* @param messages Messages to be published
Expand Down