all: fix lint warnings

This commit is contained in:
ZHANG Dapeng 2018-06-11 12:57:27 -07:00 committed by GitHub
parent 65211310e9
commit 9d26c5c405
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1868,7 +1868,7 @@ public abstract class AbstractInteropTest {
assertNotNull(serverEndRecord); assertNotNull(serverEndRecord);
checkStartTags(serverStartRecord, method); checkStartTags(serverStartRecord, method);
checkEndTags(serverEndRecord, method, code); checkEndTags(serverEndRecord, method, code);
if (server != null && requests != null && responses != null) { if (requests != null && responses != null) {
checkCensus(serverEndRecord, true, requests, responses); checkCensus(serverEndRecord, true, requests, responses);
} }
} }

View File

@ -549,7 +549,7 @@ public final class BinlogHelperTest {
public void logSendInitialMetadata_server() throws Exception { public void logSendInitialMetadata_server() throws Exception {
sinkWriterImpl.logSendInitialMetadata( sinkWriterImpl.logSendInitialMetadata(
/*seq=*/ 1, /*seq=*/ 1,
/*methodNmae=*/ null, /*methodName=*/ null,
/*timeout=*/ null, /*timeout=*/ null,
nonEmptyMetadata, nonEmptyMetadata,
IS_SERVER, IS_SERVER,
@ -649,7 +649,7 @@ public final class BinlogHelperTest {
InetSocketAddress socketAddress = new InetSocketAddress(address, port); InetSocketAddress socketAddress = new InetSocketAddress(address, port);
sinkWriterImpl.logRecvInitialMetadata( sinkWriterImpl.logRecvInitialMetadata(
/*seq=*/ 1, /*seq=*/ 1,
/*methodNmae=*/ null, /*methodName=*/ null,
/*timeout=*/ null, /*timeout=*/ null,
nonEmptyMetadata, nonEmptyMetadata,
IS_CLIENT, IS_CLIENT,