mirror of https://github.com/grpc/grpc-java.git
all: fix lint warnings (#7016)
This commit is contained in:
parent
29725bb298
commit
6cde3b220b
|
|
@ -193,7 +193,7 @@ public final class InProcessChannelBuilder extends
|
||||||
private final boolean useSharedTimer;
|
private final boolean useSharedTimer;
|
||||||
private final int maxInboundMetadataSize;
|
private final int maxInboundMetadataSize;
|
||||||
private boolean closed;
|
private boolean closed;
|
||||||
private boolean includeCauseWithStatus;
|
private final boolean includeCauseWithStatus;
|
||||||
|
|
||||||
private InProcessClientTransportFactory(
|
private InProcessClientTransportFactory(
|
||||||
String name,
|
String name,
|
||||||
|
|
|
||||||
|
|
@ -2067,7 +2067,7 @@ public abstract class AbstractTransportTest {
|
||||||
* Verifies that the client status is as expected. By default, the code and description should
|
* Verifies that the client status is as expected. By default, the code and description should
|
||||||
* be present, and the cause should be stripped away.
|
* be present, and the cause should be stripped away.
|
||||||
*/
|
*/
|
||||||
private void checkClientStatus(Status expectedStatus, Status clientStreamStatus) {
|
private static void checkClientStatus(Status expectedStatus, Status clientStreamStatus) {
|
||||||
assertEquals(expectedStatus.getCode(), clientStreamStatus.getCode());
|
assertEquals(expectedStatus.getCode(), clientStreamStatus.getCode());
|
||||||
assertEquals(expectedStatus.getDescription(), clientStreamStatus.getDescription());
|
assertEquals(expectedStatus.getDescription(), clientStreamStatus.getDescription());
|
||||||
assertNull(clientStreamStatus.getCause());
|
assertNull(clientStreamStatus.getCause());
|
||||||
|
|
|
||||||
|
|
@ -172,7 +172,7 @@ public final class GrpclbFallbackTestClient {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void runShellCmd(String cmd) throws Exception {
|
private static void runShellCmd(String cmd) throws Exception {
|
||||||
logger.info("Run shell command: " + cmd);
|
logger.info("Run shell command: " + cmd);
|
||||||
ProcessBuilder pb = new ProcessBuilder("bash", "-c", cmd);
|
ProcessBuilder pb = new ProcessBuilder("bash", "-c", cmd);
|
||||||
pb.redirectErrorStream(true);
|
pb.redirectErrorStream(true);
|
||||||
|
|
|
||||||
|
|
@ -189,4 +189,6 @@ final class RlsProtoConverters {
|
||||||
return new GrpcKeyBuilder(names, nameMatchers);
|
return new GrpcKeyBuilder(names, nameMatchers);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private RlsProtoConverters() {}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue