Skip to content

Commit

Permalink
Fixing checkstyle issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
conniey committed Jan 7, 2020
1 parent cd404de commit 7dff159
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ private void requestUpstream() {
/**
* Represents a subscriber, waiting for an AMQP connection.
*/
private static class ConnectionSubscriber
private static final class ConnectionSubscriber
extends Operators.MonoSubscriber<EventHubAmqpConnection, EventHubAmqpConnection> {
private final EventHubConnectionProcessor processor;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,10 @@ void worksAfterReconnection() throws InterruptedException {
.subscribe(instant -> {
System.out.println("Sent batch at: " + instant);
}, error -> {
logger.error("Error sending batch: ", error);
}, () -> {
logger.info("Complete.");
});
logger.error("Error sending batch: ", error);
}, () -> {
logger.info("Complete.");
});

System.out.println("Sleeping while performing work.");
TimeUnit.MINUTES.sleep(30);
Expand Down

0 comments on commit 7dff159

Please sign in to comment.