Skip to content

Commit

Permalink
Make checkstyle happy
Browse files Browse the repository at this point in the history
  • Loading branch information
szczygiel-m committed Aug 23, 2024
1 parent 9190d4a commit 888fd7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public interface MessageReceiver {

/**
* Retrieves the next available message from the queue.
* <p>
* Depending on the context, the returned {@link Optional} can contain:
*
* <p>Depending on the context, the returned {@link Optional} can contain:
* <ul>
* <li>A {@link Message} that contains a valid message ready to be sent.</li>
* <li>A {@link Message} with the `isFiltered` flag set, indicating that the message
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void shouldFilterIncomingEventsForBatch() {
// given
TestSubscriber subscriber = subscribers.createSubscriber();
Topic topic = hermes.initHelper().createTopic(topicWithRandomName().build());
Subscription subscription = hermes.initHelper().createSubscription(subscriptionWithRandomName(topic.getName(), subscriber.getEndpoint())
final Subscription subscription = hermes.initHelper().createSubscription(subscriptionWithRandomName(topic.getName(), subscriber.getEndpoint())
.withSubscriptionPolicy(buildBatchPolicy()
.withBatchSize(2)
.withBatchTime(3)
Expand Down

0 comments on commit 888fd7e

Please sign in to comment.