Fixed a documentation error
This commit is contained in:
parent
5518344bc3
commit
5c790b5e8a
@ -144,7 +144,7 @@ public class ConnectionlessBootstrap extends Bootstrap {
|
||||
*
|
||||
* <pre>
|
||||
* {@link ConnectionlessBootstrap} b = ...;
|
||||
* b.connect(b.getOption("localAddress"));
|
||||
* b.bind(b.getOption("localAddress"));
|
||||
* </pre>
|
||||
*
|
||||
* @return a new bound channel which accepts incoming connections
|
||||
|
@ -232,7 +232,7 @@ public class ServerBootstrap extends Bootstrap {
|
||||
*
|
||||
* <pre>
|
||||
* {@link ServerBootstrap} b = ...;
|
||||
* b.connect(b.getOption("localAddress"));
|
||||
* b.bind(b.getOption("localAddress"));
|
||||
* </pre>
|
||||
*
|
||||
* @return a new bound channel which accepts incoming connections
|
||||
|
Loading…
Reference in New Issue
Block a user