ARTEMIS-1160 Fixing Checkstyle

This commit is contained in:
Clebert Suconic 2017-05-15 10:52:05 -04:00
parent 47e0cffc92
commit 502f9c544c
1 changed files with 5 additions and 5 deletions

View File

@ -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 -----//