File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
src/main/java/com/rabbitmq/client Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1382,9 +1382,8 @@ public Connection newConnection(
13821382 * @deprecated user {@link #netty()} instead
13831383 */
13841384 @ Deprecated
1385- public ConnectionFactory setNioParams (NioParams nioParams ) {
1385+ public void setNioParams (NioParams nioParams ) {
13861386 this .nioParams = nioParams ;
1387- return this ;
13881387 }
13891388
13901389 /**
@@ -1415,20 +1414,18 @@ public NioParams getNioParams() {
14151414 * @deprecated Use {@link #netty()} instead
14161415 */
14171416 @ Deprecated
1418- public ConnectionFactory useNio () {
1417+ public void useNio () {
14191418 this .nio = true ;
14201419 this .netty = false ;
1421- return this ;
14221420 }
14231421
14241422 /**
14251423 * Use blocking IO for communication with the server. With blocking IO, each connection creates
14261424 * its own thread to read data from the server.
14271425 */
1428- public ConnectionFactory useBlockingIo () {
1426+ public void useBlockingIo () {
14291427 this .nio = false ;
14301428 this .netty = false ;
1431- return this ;
14321429 }
14331430
14341431 /**
You can’t perform that action at this time.
0 commit comments