HBASE-22304 Fixed remaining Checkstyle issues in hbase-endpoint

This commit is contained in:
Jan Hentschel 2019-04-24 17:14:17 +02:00
parent 26c2ff6863
commit c7a70dfaba
No known key found for this signature in database
GPG Key ID: 5CD818B19CC299A3
1 changed files with 4 additions and 4 deletions

View File

@ -81,7 +81,7 @@ public class TestAsyncCoprocessorEndpoint extends TestAsyncAdminBase {
admin
.<TestRpcServiceProtos.TestProtobufRpcProto.Stub, TestProtos.EchoResponseProto>
coprocessorService(TestRpcServiceProtos.TestProtobufRpcProto::newStub,
(s, c, done) -> s.echo(c, request, done)).get();
(s, c, done) -> s.echo(c, request, done)).get();
assertEquals("hello", response.getMessage());
}
@ -92,7 +92,7 @@ public class TestAsyncCoprocessorEndpoint extends TestAsyncAdminBase {
admin
.<TestRpcServiceProtos.TestProtobufRpcProto.Stub, TestProtos.EmptyResponseProto>
coprocessorService(TestRpcServiceProtos.TestProtobufRpcProto::newStub,
(s, c, done) -> s.error(c, emptyRequest, done)).get();
(s, c, done) -> s.error(c, emptyRequest, done)).get();
fail("Should have thrown an exception");
} catch (Exception e) {
}
@ -108,7 +108,7 @@ public class TestAsyncCoprocessorEndpoint extends TestAsyncAdminBase {
.<DummyRegionServerEndpointProtos.DummyService.Stub,
DummyRegionServerEndpointProtos.DummyResponse> coprocessorService(
DummyRegionServerEndpointProtos.DummyService::newStub,
(s, c, done) -> s.dummyCall(c, request, done), serverName).get();
(s, c, done) -> s.dummyCall(c, request, done), serverName).get();
assertEquals(DUMMY_VALUE, response.getValue());
}
@ -122,7 +122,7 @@ public class TestAsyncCoprocessorEndpoint extends TestAsyncAdminBase {
.<DummyRegionServerEndpointProtos.DummyService.Stub,
DummyRegionServerEndpointProtos.DummyResponse> coprocessorService(
DummyRegionServerEndpointProtos.DummyService::newStub,
(s, c, done) -> s.dummyThrow(c, request, done), serverName).get();
(s, c, done) -> s.dummyThrow(c, request, done), serverName).get();
fail("Should have thrown an exception");
} catch (Exception e) {
assertTrue(e.getCause() instanceof RetriesExhaustedException);