diff options
author | Eric Gribkoff <ericgribkoff@google.com> | 2017-05-02 10:24:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-02 10:24:23 -0700 |
commit | 7aa807ce6d894254348ad5f300bff4d6be4190d1 (patch) | |
tree | 6ae941dd264243d42c14b78732b8537c3e89e352 /compiler | |
parent | 06e823e25141b54954ee3400f55ffaf3221ed6fd (diff) | |
download | grpc-grpc-java-7aa807ce6d894254348ad5f300bff4d6be4190d1.tar.gz |
compiler: remove streaming calls from javadoc for newFutureStub
FutureStubs only support unary calls
Diffstat (limited to 'compiler')
4 files changed, 5 insertions, 5 deletions
diff --git a/compiler/src/java_plugin/cpp/java_generator.cpp b/compiler/src/java_plugin/cpp/java_generator.cpp index d48263e25..3ce4adba5 100644 --- a/compiler/src/java_plugin/cpp/java_generator.cpp +++ b/compiler/src/java_plugin/cpp/java_generator.cpp @@ -1078,8 +1078,8 @@ static void PrintService(const ServiceDescriptor* service, p->Print("}\n\n"); // TODO(nmittler): Replace with WriteDocComment once included by protobuf distro. - GrpcWriteDocComment(p, " Creates a new ListenableFuture-style stub that supports unary and " - "streaming output calls on the service"); + GrpcWriteDocComment(p, " Creates a new ListenableFuture-style stub that supports unary calls " + "on the service"); p->Print( *vars, "public static $service_name$FutureStub newFutureStub(\n" diff --git a/compiler/src/test/golden/TestService.java.txt b/compiler/src/test/golden/TestService.java.txt index 4de84cd18..7fd62e344 100644 --- a/compiler/src/test/golden/TestService.java.txt +++ b/compiler/src/test/golden/TestService.java.txt @@ -107,7 +107,7 @@ public final class TestServiceGrpc { } /** - * Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service + * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static TestServiceFutureStub newFutureStub( io.grpc.Channel channel) { diff --git a/compiler/src/testLite/golden/TestService.java.txt b/compiler/src/testLite/golden/TestService.java.txt index 57c5dd0be..7ddcfe278 100644 --- a/compiler/src/testLite/golden/TestService.java.txt +++ b/compiler/src/testLite/golden/TestService.java.txt @@ -107,7 +107,7 @@ public final class TestServiceGrpc { } /** - * Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service + * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static TestServiceFutureStub newFutureStub( io.grpc.Channel channel) { diff --git a/compiler/src/testNano/golden/TestService.java.txt b/compiler/src/testNano/golden/TestService.java.txt index 11df28fa0..9453264de 100644 --- a/compiler/src/testNano/golden/TestService.java.txt +++ b/compiler/src/testNano/golden/TestService.java.txt @@ -170,7 +170,7 @@ public final class TestServiceGrpc { } /** - * Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service + * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static TestServiceFutureStub newFutureStub( io.grpc.Channel channel) { |