We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 934b296 commit 731ce10Copy full SHA for 731ce10
src/main/java/com/rabbitmq/client/impl/nio/NioParams.java
@@ -180,7 +180,7 @@ public int getWriteByteBufferSize() {
180
* @return this {@link NioParams} instance
181
*/
182
public NioParams setWriteByteBufferSize(int writeByteBufferSize) {
183
- if (readByteBufferSize <= 0) {
+ if (writeByteBufferSize <= 0) {
184
throw new IllegalArgumentException("Buffer size must be greater than 0");
185
}
186
this.writeByteBufferSize = writeByteBufferSize;
0 commit comments