mirror of https://github.com/grpc/grpc-java.git
Correct small grammar error in comment.
This commit is contained in:
parent
192144eaf9
commit
9b5575daa1
|
|
@ -24,7 +24,7 @@ public class HelloWorldServer {
|
||||||
Runtime.getRuntime().addShutdownHook(new Thread() {
|
Runtime.getRuntime().addShutdownHook(new Thread() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
// Use stderr here since the logger may has been reset by its JVM shutdown hook.
|
// Use stderr here since the logger may have been reset by its JVM shutdown hook.
|
||||||
System.err.println("*** shutting down gRPC server since JVM is shutting down");
|
System.err.println("*** shutting down gRPC server since JVM is shutting down");
|
||||||
HelloWorldServer.this.stop();
|
HelloWorldServer.this.stop();
|
||||||
System.err.println("*** server shut down");
|
System.err.println("*** server shut down");
|
||||||
|
|
@ -55,4 +55,4 @@ public class HelloWorldServer {
|
||||||
responseObserver.onCompleted();
|
responseObserver.onCompleted();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue