mirror of https://github.com/grpc/grpc-java.git
testing: Stabilize TestMethodDescriptors (#10530)
This commit is contained in:
parent
d15daed5e4
commit
b63e1579ed
|
@ -16,7 +16,6 @@
|
|||
|
||||
package io.grpc.testing;
|
||||
|
||||
import io.grpc.ExperimentalApi;
|
||||
import io.grpc.MethodDescriptor;
|
||||
import io.grpc.MethodDescriptor.MethodType;
|
||||
import java.io.ByteArrayInputStream;
|
||||
|
@ -28,7 +27,6 @@ import java.io.InputStream;
|
|||
*
|
||||
* @since 1.1.0
|
||||
*/
|
||||
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/2600")
|
||||
public final class TestMethodDescriptors {
|
||||
private TestMethodDescriptors() {}
|
||||
|
||||
|
@ -38,7 +36,6 @@ public final class TestMethodDescriptors {
|
|||
*
|
||||
* @since 1.1.0
|
||||
*/
|
||||
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/2600")
|
||||
public static MethodDescriptor<Void, Void> voidMethod() {
|
||||
return MethodDescriptor.<Void, Void>newBuilder()
|
||||
.setType(MethodType.UNARY)
|
||||
|
@ -53,7 +50,6 @@ public final class TestMethodDescriptors {
|
|||
*
|
||||
* @since 1.1.0
|
||||
*/
|
||||
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/2600")
|
||||
public static MethodDescriptor.Marshaller<Void> voidMarshaller() {
|
||||
return new NoopMarshaller();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue