Skip to content

Commit

Permalink
Fix NPE for boundAddress() in HttpServerTransports
Browse files Browse the repository at this point in the history
  • Loading branch information
dakrone committed Jan 2, 2013
1 parent 9dbe30a commit 2bb50d4
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 @@ -112,7 +112,7 @@ public FilterHttpServerTransport(Settings settings, @FilteredHttpServerTransport

@Override
public HttpInfo info() {
return new HttpInfo(null, 0);
return new HttpInfo(boundAddress(), 0);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public BoundTransportAddress boundAddress() {

@Override
public HttpInfo info() {
return new HttpInfo(null, 0);
return new HttpInfo(boundAddress(), 0);
}

@Override
Expand Down

0 comments on commit 2bb50d4

Please sign in to comment.