File tree 2 files changed +2
-5
lines changed
protobuf/src/main/java/io/grpc/protobuf
protobuf-lite/src/main/java/io/grpc/protobuf/lite
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -89,12 +89,11 @@ public static <T extends MessageLite> Marshaller<T> marshaller(T defaultInstance
89
89
90
90
/**
91
91
* Creates a {@link Marshaller} for protos of the same type as {@code defaultInstance} and a
92
- * custom limit for the recursion depth. Any negative number will leave the limit to its default
92
+ * custom limit for the recursion depth. Any negative number will leave the limit as its default
93
93
* value as defined by the protobuf library.
94
94
*
95
95
* @since 1.56.0
96
96
*/
97
- @ ExperimentalApi ("https://github.com/grpc/grpc-java/issues/10108" )
98
97
public static <T extends MessageLite > Marshaller <T > marshallerWithRecursionLimit (
99
98
T defaultInstance , int recursionLimit ) {
100
99
return new MessageMarshaller <>(defaultInstance , recursionLimit );
Original file line number Diff line number Diff line change 18
18
19
19
import com .google .protobuf .ExtensionRegistry ;
20
20
import com .google .protobuf .Message ;
21
- import io .grpc .ExperimentalApi ;
22
21
import io .grpc .Metadata ;
23
22
import io .grpc .MethodDescriptor .Marshaller ;
24
23
import io .grpc .protobuf .lite .ProtoLiteUtils ;
@@ -58,12 +57,11 @@ public static <T extends Message> Marshaller<T> marshaller(final T defaultInstan
58
57
59
58
/**
60
59
* Creates a {@link Marshaller} for protos of the same type as {@code defaultInstance} and a
61
- * custom limit for the recursion depth. Any negative number will leave the limit to its default
60
+ * custom limit for the recursion depth. Any negative number will leave the limit as its default
62
61
* value as defined by the protobuf library.
63
62
*
64
63
* @since 1.56.0
65
64
*/
66
- @ ExperimentalApi ("https://github.com/grpc/grpc-java/issues/10108" )
67
65
public static <T extends Message > Marshaller <T > marshallerWithRecursionLimit (T defaultInstance ,
68
66
int recursionLimit ) {
69
67
return ProtoLiteUtils .marshallerWithRecursionLimit (defaultInstance , recursionLimit );
You can’t perform that action at this time.
0 commit comments