Skip to content

Commit

Permalink
Fix checkstyle warning
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed Nov 4, 2024
1 parent 4352dda commit fbb6bae
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ public class Application {
public static void main(String[] args) {
HttpClient client =
HttpClient.create()
// The configuration below is available only when Epoll/KQueue transport is used
.remoteAddress(() -> new DomainSocketAddress("/tmp/test.sock")); //<1>
// The configuration below is available only when NIO transport is used with Java 17+
//.remoteAddress(() -> UnixDomainSocketAddress.of("/tmp/test.sock"));
// The configuration below is available only when Epoll/KQueue transport is used
.remoteAddress(() -> new DomainSocketAddress("/tmp/test.sock")); //<1>

client.get()
.uri("/")
Expand Down

0 comments on commit fbb6bae

Please sign in to comment.