Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25b1911 commit 19e328fCopy full SHA for 19e328f
reactor-netty-core/src/main/java/reactor/netty/Connection.java
@@ -330,15 +330,15 @@ default NettyOutbound outbound() {
330
}
331
332
/**
333
- * Bind a new {@link Connection} reference or null to the channel
+ * Bind a new {@link Connection} reference to the channel
334
* attributes only if this instance is currently bound.
335
*
336
* @param connection a new connection reference
337
338
* @return true if bound
339
* @see #bind
340
*/
341
- default boolean rebind(@Nullable Connection connection) {
+ default boolean rebind(Connection connection) {
342
return channel().attr(ReactorNetty.CONNECTION)
343
.compareAndSet(this, connection);
344
0 commit comments