mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-21 01:15:50 +00:00
ARTEMIS-1160 Fixing Checkstyle
This commit is contained in:
parent
47e0cffc92
commit
502f9c544c
@ -269,16 +269,16 @@ public class NettyTcpTransport implements NettyTransport {
|
||||
|
||||
@Override
|
||||
public void setMaxFrameSize(int maxFrameSize) {
|
||||
if (connected.get()) {
|
||||
throw new IllegalStateException("Cannot change Max Frame Size while connected.");
|
||||
}
|
||||
if (connected.get()) {
|
||||
throw new IllegalStateException("Cannot change Max Frame Size while connected.");
|
||||
}
|
||||
|
||||
this.maxFrameSize = maxFrameSize;
|
||||
this.maxFrameSize = maxFrameSize;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxFrameSize() {
|
||||
return maxFrameSize;
|
||||
return maxFrameSize;
|
||||
}
|
||||
|
||||
// ----- Internal implementation details, can be overridden as needed -----//
|
||||
|
Loading…
x
Reference in New Issue
Block a user