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…
Reference in New Issue