Skip to content

Commit

Permalink
examples: Avoid deprecated generated class
Browse files Browse the repository at this point in the history
  • Loading branch information
ejona86 committed Jul 1, 2016
1 parent 32fd329 commit 75f27ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static void main(String [] args) throws Exception {
private ManagedChannel channel;

void run() throws Exception {
server = ServerBuilder.forPort(0).addService(new GreeterGrpc.AbstractGreeter() {
server = ServerBuilder.forPort(0).addService(new GreeterGrpc.GreeterImplBase() {
@Override
public void sayHello(HelloRequest request, StreamObserver<HelloReply> responseObserver) {
responseObserver.onError(Status.INTERNAL
Expand Down

0 comments on commit 75f27ba

Please sign in to comment.