Skip to content

Commit

Permalink
Rename builder function in SseRouteBuilder to better reflect the argu…
Browse files Browse the repository at this point in the history
…ment

it expects

Signed-off-by: Klem Yannic (INST/ECS1) <yannic.klem@bosch-si.com>
  • Loading branch information
Yannic92 committed Nov 19, 2019
1 parent a01d429 commit d4f4baf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public interface SseRouteBuilder {
* @return this builder instance to allow method chaining.
* @throws NullPointerException if {@code sseConnectionSupervisor} is {@code null}.
*/
SseRouteBuilder withWebSocketSupervisor(SseConnectionSupervisor sseConnectionSupervisor);
SseRouteBuilder withSseConnectionSupervisor(SseConnectionSupervisor sseConnectionSupervisor);

/**
* Creates the Akka HTTP route for SSE.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public ThingsSseRouteBuilder withEventSniffer(final EventSniffer<ServerSentEvent
}

@Override
public SseRouteBuilder withWebSocketSupervisor(final SseConnectionSupervisor sseConnectionSupervisor) {
public SseRouteBuilder withSseConnectionSupervisor(final SseConnectionSupervisor sseConnectionSupervisor) {
this.sseConnectionSupervisor = checkNotNull(sseConnectionSupervisor, "sseConnectionSupervisor");
return this;
}
Expand Down

0 comments on commit d4f4baf

Please sign in to comment.