javadoc: fix broken links in javadoc

This commit is contained in:
ZHANG Dapeng 2017-05-02 16:21:43 -07:00 committed by GitHub
parent 6418371df5
commit 7d048af68e
8 changed files with 7 additions and 9 deletions

View File

@ -42,6 +42,7 @@ import com.google.instrumentation.stats.StatsContextFactory;
import com.google.instrumentation.trace.Tracing; import com.google.instrumentation.trace.Tracing;
import io.grpc.Attributes; import io.grpc.Attributes;
import io.grpc.ClientInterceptor; import io.grpc.ClientInterceptor;
import io.grpc.ClientStreamTracer;
import io.grpc.CompressorRegistry; import io.grpc.CompressorRegistry;
import io.grpc.DecompressorRegistry; import io.grpc.DecompressorRegistry;
import io.grpc.EquivalentAddressGroup; import io.grpc.EquivalentAddressGroup;

View File

@ -57,7 +57,7 @@ public abstract class Http2ClientStreamTransportState extends AbstractClientStre
/** /**
* RFC 7231 says status codes are 3 digits long. * RFC 7231 says status codes are 3 digits long.
* *
* @see: <a href="https://tools.ietf.org/html/rfc7231#section-6">RFC 7231</a> * @see <a href="https://tools.ietf.org/html/rfc7231#section-6">RFC 7231</a>
*/ */
@Override @Override
public Integer parseAsciiString(byte[] serialized) { public Integer parseAsciiString(byte[] serialized) {

View File

@ -60,8 +60,6 @@ import javax.annotation.concurrent.ThreadSafe;
/** /**
* Transports for a single {@link SocketAddress}. * Transports for a single {@link SocketAddress}.
*
* <p>This is the next version of {@link TransportSet} in development.
*/ */
@ThreadSafe @ThreadSafe
final class InternalSubchannel implements WithLogId { final class InternalSubchannel implements WithLogId {

View File

@ -33,7 +33,7 @@ package io.grpc.internal;
import com.google.common.base.Preconditions; import com.google.common.base.Preconditions;
/** Utility functions when interacting with {@link Throwables}. */ /** Utility functions when interacting with {@link Throwable}s. */
// TODO(ejona): Delete this once we've upgraded to Guava 20 or later. // TODO(ejona): Delete this once we've upgraded to Guava 20 or later.
final class MoreThrowables { final class MoreThrowables {
/** /**

View File

@ -112,10 +112,10 @@ public final class ServerImpl extends io.grpc.Server implements WithLogId {
/** /**
* Construct a server. * Construct a server.
* *
* @param executorPool provides an executor to call methods on behalf of remote clients
* @param registry the primary method registry * @param registry the primary method registry
* @param fallbackRegistry the secondary method registry, used only if the primary registry * @param fallbackRegistry the secondary method registry, used only if the primary registry
* doesn't have the method * doesn't have the method
* @param executor to call methods on behalf of remote clients
*/ */
ServerImpl(ObjectPool<? extends Executor> executorPool, ServerImpl(ObjectPool<? extends Executor> executorPool,
ObjectPool<ScheduledExecutorService> timeoutServicePool, ObjectPool<ScheduledExecutorService> timeoutServicePool,

View File

@ -37,8 +37,7 @@ package io.grpc.internal;
public interface WithLogId { public interface WithLogId {
/** /**
* Returns an ID that is primarily used in debug logs. It usually contains the class name and a * Returns an ID that is primarily used in debug logs. It usually contains the class name and a
* numeric ID that is unique among the instances. {@link GrpcUtil#getLogId} is a canonical * numeric ID that is unique among the instances.
* implementation.
* *
* <p>The subclasses of this interface usually want to include the log ID in their {@link * <p>The subclasses of this interface usually want to include the log ID in their {@link
* #toString} results. * #toString} results.

View File

@ -34,7 +34,7 @@ package io.grpc.netty;
/** Container for stream ids. */ /** Container for stream ids. */
interface StreamIdHolder { interface StreamIdHolder {
/** /**
* Returns the id or {@link io.grpc.internal.AbstractStream#ABSENT_ID}. * Returns the id.
*/ */
int id(); int id();
} }

View File

@ -175,7 +175,7 @@ class OkHttpClientStream extends AbstractClientStream2 {
@GuardedBy("lock") @GuardedBy("lock")
private List<Header> requestHeaders; private List<Header> requestHeaders;
/** /**
* Null iff {@link #requestHeaders} is null. Non-null iff neither {@link #sendCancel} nor * Null iff {@link #requestHeaders} is null. Non-null iff neither {@link #cancel} nor
* {@link #start(int)} have been called. * {@link #start(int)} have been called.
*/ */
@GuardedBy("lock") @GuardedBy("lock")