Change ExperimentalApi field 'comment' to 'value'

This commit is contained in:
Carl Mastrangelo 2015-08-26 13:40:11 -07:00
parent cb734e3049
commit 4221f5a81c
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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());

View File

@ -63,5 +63,5 @@ public @interface ExperimentalApi {
/**
* Context information such as links to discussion thread, tracking issue etc.
*/
String comment() default "";
String value() default "";
}