Skip to content

Commit

Permalink
Issue #206 - Incorrect javadoc for WebSocketContainer connectToServer.
Browse files Browse the repository at this point in the history
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
  • Loading branch information
lachlan-roberts authored and markt-asf committed Dec 12, 2019
1 parent 3143874 commit 45acecd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public interface WebSocketContainer {

/**
* Connect the supplied annotated endpoint instance to its server. The supplied object must be a class decorated
* with the class level {@code jakarta.websocket.server.ServerEndpoint} annotation. This method blocks until the
* with the class level {@link jakarta.websocket.ClientEndpoint} annotation. This method blocks until the
* connection is established, or throws an error if either the connection could not be made or there was a problem
* with the supplied endpoint class. If the developer uses this method to deploy the client endpoint, services like
* dependency injection that are supported, for example, when the implementation is part of the Java EE platform may
Expand All @@ -77,7 +77,7 @@ public interface WebSocketContainer {

/**
* Connect the supplied annotated endpoint to its server. The supplied object must be a class decorated with the
* class level {@code jakarta.websocket.server.ServerEndpoint} annotation. This method blocks until the connection is
* class level {@link jakarta.websocket.ClientEndpoint} annotation. This method blocks until the connection is
* established, or throws an error if either the connection could not be made or there was a problem with the
* supplied endpoint class.
*
Expand Down

0 comments on commit 45acecd

Please sign in to comment.