mirror of https://github.com/grpc/grpc-java.git
Change ExperimentalApi field 'comment' to 'value'
This commit is contained in:
parent
cb734e3049
commit
4221f5a81c
|
|
@ -256,7 +256,7 @@ public final class ChannelImpl extends Channel {
|
|||
*
|
||||
* @see ClientTransport#ping(PingCallback, Executor)
|
||||
*/
|
||||
@ExperimentalApi(comment = "https://github.com/grpc/grpc-java/issues/737")
|
||||
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/737")
|
||||
public void ping(final PingCallback callback, final Executor executor) {
|
||||
try {
|
||||
obtainActiveTransport().ping(callback, executor);
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ import javax.annotation.Nullable;
|
|||
* responsibility of the application to ensure that all contexts are properly cancelled.</li>
|
||||
* </ul>
|
||||
*/
|
||||
@ExperimentalApi(comment = "https://github.com/grpc/grpc-java/issues/262")
|
||||
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/262")
|
||||
public class Context {
|
||||
|
||||
private static final Logger LOG = Logger.getLogger(Context.class.getName());
|
||||
|
|
|
|||
|
|
@ -63,5 +63,5 @@ public @interface ExperimentalApi {
|
|||
/**
|
||||
* Context information such as links to discussion thread, tracking issue etc.
|
||||
*/
|
||||
String comment() default "";
|
||||
String value() default "";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue