Skip to content

Commit d2083db

Browse files
committed
Fix checkstyle violation
1 parent 2ddf5ae commit d2083db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/main/java/org/apache/accumulo/core/rpc/AccumuloProtocolFactory.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public AccumuloProtocol(TTransport transport, boolean isClient) {
5151

5252
@Override
5353
public void writeMessageBegin(TMessage message) throws TException {
54-
if (isClient) {
54+
if (this.isClient) {
5555
span = TraceUtil.startClientRpcSpan(this.getClass(), message.name);
5656
scope = span.makeCurrent();
5757

@@ -81,7 +81,7 @@ private void writeHeader() throws TException {
8181

8282
@Override
8383
public TMessage readMessageBegin() throws TException {
84-
if (!isClient) {
84+
if (!this.isClient) {
8585
this.validateHeader();
8686
}
8787

@@ -103,7 +103,7 @@ private boolean isCompatibleVersion(byte version) {
103103
private void validateHeader() throws TException {
104104
final int magic = super.readI32();
105105
if (magic != MAGIC_NUMBER) {
106-
throw new TException("Invalid Accumulo protocol: magic number mismatch. " + "Expected: 0x"
106+
throw new TException("Invalid Accumulo protocol: magic number mismatch. Expected: 0x"
107107
+ Integer.toHexString(MAGIC_NUMBER) + ", got: 0x" + Integer.toHexString(magic));
108108
}
109109

0 commit comments

Comments
 (0)