Skip to content

Commit

Permalink
1101 FLS cannot define server bind address
Browse files Browse the repository at this point in the history
fix code quality issue

Signed-off-by: eparovyshnaia <[email protected]>
  • Loading branch information
eparovyshnaya committed Jun 29, 2022
1 parent 041a8f3 commit a5b8878
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void state() {
private String where() {
return listen.get().orElse("-") //$NON-NLS-1$
+ ":" //$NON-NLS-1$
+ this.port.get().map(i -> i.toString()).orElse("-"); //$NON-NLS-1$
+ port.get().map(i -> i.toString()).orElse("-"); //$NON-NLS-1$
}

public ServerHandles(Scope scope, String[] names, JettyServer server, BindAddress listen, Port port) {
Expand Down

0 comments on commit a5b8878

Please sign in to comment.