diff options
author | Carl Mastrangelo <notcarl@google.com> | 2017-02-10 10:16:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-10 10:16:43 -0800 |
commit | 700abb32af4c31f7bcd3677534218cf781fc6bce (patch) | |
tree | c62bc8f57c007be5a77272e54603b919c0fdf3f8 /testing-proto | |
parent | cc000be12d2c32554262f1e5c3f44e83968882f4 (diff) | |
download | grpc-grpc-java-700abb32af4c31f7bcd3677534218cf781fc6bce.tar.gz |
compiler: add some missing final modifiers on generated code
Diffstat (limited to 'testing-proto')
4 files changed, 12 insertions, 12 deletions
diff --git a/testing-proto/src/generated/main/grpc/io/grpc/testing/integration/MetricsServiceGrpc.java b/testing-proto/src/generated/main/grpc/io/grpc/testing/integration/MetricsServiceGrpc.java index ca0bd99c4..f8bc5c4ce 100644 --- a/testing-proto/src/generated/main/grpc/io/grpc/testing/integration/MetricsServiceGrpc.java +++ b/testing-proto/src/generated/main/grpc/io/grpc/testing/integration/MetricsServiceGrpc.java @@ -20,7 +20,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall; @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)", comments = "Source: io/grpc/testing/integration/metrics.proto") -public class MetricsServiceGrpc { +public final class MetricsServiceGrpc { private MetricsServiceGrpc() {} @@ -230,7 +230,7 @@ public class MetricsServiceGrpc { private static final int METHODID_GET_ALL_GAUGES = 0; private static final int METHODID_GET_GAUGE = 1; - private static class MethodHandlers<Req, Resp> implements + private static final class MethodHandlers<Req, Resp> implements io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>, io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>, io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>, @@ -238,7 +238,7 @@ public class MetricsServiceGrpc { private final MetricsServiceImplBase serviceImpl; private final int methodId; - public MethodHandlers(MetricsServiceImplBase serviceImpl, int methodId) { + MethodHandlers(MetricsServiceImplBase serviceImpl, int methodId) { this.serviceImpl = serviceImpl; this.methodId = methodId; } diff --git a/testing-proto/src/generated/main/grpc/io/grpc/testing/integration/ReconnectServiceGrpc.java b/testing-proto/src/generated/main/grpc/io/grpc/testing/integration/ReconnectServiceGrpc.java index a417996d6..5610bad7c 100644 --- a/testing-proto/src/generated/main/grpc/io/grpc/testing/integration/ReconnectServiceGrpc.java +++ b/testing-proto/src/generated/main/grpc/io/grpc/testing/integration/ReconnectServiceGrpc.java @@ -23,7 +23,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall; @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)", comments = "Source: io/grpc/testing/integration/test.proto") -public class ReconnectServiceGrpc { +public final class ReconnectServiceGrpc { private ReconnectServiceGrpc() {} @@ -228,7 +228,7 @@ public class ReconnectServiceGrpc { private static final int METHODID_START = 0; private static final int METHODID_STOP = 1; - private static class MethodHandlers<Req, Resp> implements + private static final class MethodHandlers<Req, Resp> implements io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>, io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>, io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>, @@ -236,7 +236,7 @@ public class ReconnectServiceGrpc { private final ReconnectServiceImplBase serviceImpl; private final int methodId; - public MethodHandlers(ReconnectServiceImplBase serviceImpl, int methodId) { + MethodHandlers(ReconnectServiceImplBase serviceImpl, int methodId) { this.serviceImpl = serviceImpl; this.methodId = methodId; } diff --git a/testing-proto/src/generated/main/grpc/io/grpc/testing/integration/TestServiceGrpc.java b/testing-proto/src/generated/main/grpc/io/grpc/testing/integration/TestServiceGrpc.java index 3bb771532..a2c80f3d6 100644 --- a/testing-proto/src/generated/main/grpc/io/grpc/testing/integration/TestServiceGrpc.java +++ b/testing-proto/src/generated/main/grpc/io/grpc/testing/integration/TestServiceGrpc.java @@ -24,7 +24,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall; @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)", comments = "Source: io/grpc/testing/integration/test.proto") -public class TestServiceGrpc { +public final class TestServiceGrpc { private TestServiceGrpc() {} @@ -498,7 +498,7 @@ public class TestServiceGrpc { private static final int METHODID_FULL_DUPLEX_CALL = 5; private static final int METHODID_HALF_DUPLEX_CALL = 6; - private static class MethodHandlers<Req, Resp> implements + private static final class MethodHandlers<Req, Resp> implements io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>, io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>, io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>, @@ -506,7 +506,7 @@ public class TestServiceGrpc { private final TestServiceImplBase serviceImpl; private final int methodId; - public MethodHandlers(TestServiceImplBase serviceImpl, int methodId) { + MethodHandlers(TestServiceImplBase serviceImpl, int methodId) { this.serviceImpl = serviceImpl; this.methodId = methodId; } diff --git a/testing-proto/src/generated/main/grpc/io/grpc/testing/integration/UnimplementedServiceGrpc.java b/testing-proto/src/generated/main/grpc/io/grpc/testing/integration/UnimplementedServiceGrpc.java index 8f20656f1..00b76d4cd 100644 --- a/testing-proto/src/generated/main/grpc/io/grpc/testing/integration/UnimplementedServiceGrpc.java +++ b/testing-proto/src/generated/main/grpc/io/grpc/testing/integration/UnimplementedServiceGrpc.java @@ -24,7 +24,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall; @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)", comments = "Source: io/grpc/testing/integration/test.proto") -public class UnimplementedServiceGrpc { +public final class UnimplementedServiceGrpc { private UnimplementedServiceGrpc() {} @@ -198,7 +198,7 @@ public class UnimplementedServiceGrpc { private static final int METHODID_UNIMPLEMENTED_CALL = 0; - private static class MethodHandlers<Req, Resp> implements + private static final class MethodHandlers<Req, Resp> implements io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>, io.grpc.stub.ServerCalls.ServerStreamingMethod<Req, Resp>, io.grpc.stub.ServerCalls.ClientStreamingMethod<Req, Resp>, @@ -206,7 +206,7 @@ public class UnimplementedServiceGrpc { private final UnimplementedServiceImplBase serviceImpl; private final int methodId; - public MethodHandlers(UnimplementedServiceImplBase serviceImpl, int methodId) { + MethodHandlers(UnimplementedServiceImplBase serviceImpl, int methodId) { this.serviceImpl = serviceImpl; this.methodId = methodId; } |