diff options
author | Anton Hansson <hansson@google.com> | 2023-10-04 09:44:31 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-10-04 09:44:31 +0000 |
commit | fba378137b790289277d29a011e790dd3a2b2b8e (patch) | |
tree | 51fc3dc77ec3d64cdd499b85e3ff97997a46becd | |
parent | b71b7b4f3304ac9060a6daed928ca1ec2e8b146e (diff) | |
parent | 184ef4384fcebb9895480b76142b151a60c04299 (diff) | |
download | cronet-fba378137b790289277d29a011e790dd3a2b2b8e.tar.gz |
Fix broken @link/@see references in Cronet am: e048370de6 am: 184ef4384f
Original change: https://android-review.googlesource.com/c/platform/external/cronet/+/2769207
Change-Id: I5eb34259160ab5159ad3681e2c30a2763fba4f07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
3 files changed, 6 insertions, 7 deletions
diff --git a/android/java/src/android/net/http/BidirectionalStream.java b/android/java/src/android/net/http/BidirectionalStream.java index 6b58138cb..2a156687b 100644 --- a/android/java/src/android/net/http/BidirectionalStream.java +++ b/android/java/src/android/net/http/BidirectionalStream.java @@ -60,8 +60,7 @@ public abstract class BidirectionalStream { /** * Builder for {@link BidirectionalStream}s. Allows configuring stream before constructing - * it via {@link Builder#build}. Created by - * {@link ExperimentalHttpEngine#newBidirectionalStreamBuilder}. + * it via {@link Builder#build}. */ // SuppressLint: Builder can not be final since this is abstract and inherited @SuppressLint("StaticFinalBuilder") @@ -136,7 +135,7 @@ public abstract class BidirectionalStream { * Sets specific UID to use when accounting socket traffic caused by this request. See * {@link android.net.TrafficStats} for more information. Designed for use when performing * an operation on behalf of another application. Caller must hold - * {@link android.Manifest.permission#MODIFY_NETWORK_ACCOUNTING} permission. By default + * {@code android.Manifest.permission#MODIFY_NETWORK_ACCOUNTING} permission. By default * traffic is attributed to UID of caller. * <p> * <b>NOTE:</b>Setting a UID disallows sharing of sockets with requests @@ -178,7 +177,7 @@ public abstract class BidirectionalStream { /** * Invoked when initial response headers are received. Headers are available from {@code - * info.}{@link UrlResponseInfo#getAllHeaders getAllHeaders()}. Consumer may call {@link + * info.}{@link UrlResponseInfo#getHeaders getHeaders()}. Consumer may call {@link * BidirectionalStream#read read()} to start reading. Consumer may call {@link * BidirectionalStream#write write()} to start writing or close the stream. * @@ -252,7 +251,7 @@ public abstract class BidirectionalStream { /** * Invoked if the stream failed for any reason after {@link BidirectionalStream#start}. * <a href="https://tools.ietf.org/html/rfc7540#section-7">HTTP/2 error codes</a> are - * mapped to {@link NetworkException#getInternalErrorCode} codes. Once invoked, + * mapped to {@link NetworkException#getErrorCode} codes. Once invoked, * no further {@link BidirectionalStream.Callback} methods will be invoked. * * @param stream the stream which has failed diff --git a/android/java/src/android/net/http/InlineExecutionProhibitedException.java b/android/java/src/android/net/http/InlineExecutionProhibitedException.java index 45f168e61..491d5d3a1 100644 --- a/android/java/src/android/net/http/InlineExecutionProhibitedException.java +++ b/android/java/src/android/net/http/InlineExecutionProhibitedException.java @@ -9,7 +9,7 @@ import java.util.concurrent.RejectedExecutionException; /** * Thrown when an executor runs a submitted runnable inline in {@link * java.util.concurrent.Executor#execute(Runnable)} and {@link - * UrlRequest.Builder#allowDirectExecutor} was not called. + * UrlRequest.Builder#setDirectExecutorAllowed} was not called. */ public final class InlineExecutionProhibitedException extends RejectedExecutionException { public InlineExecutionProhibitedException() { diff --git a/android/java/src/android/net/http/UrlRequest.java b/android/java/src/android/net/http/UrlRequest.java index a1aa8b0a5..3d223f0b7 100644 --- a/android/java/src/android/net/http/UrlRequest.java +++ b/android/java/src/android/net/http/UrlRequest.java @@ -174,7 +174,7 @@ public abstract class UrlRequest { * Sets specific UID to use when accounting socket traffic caused by this request. See * {@link android.net.TrafficStats} for more information. Designed for use when performing * an operation on behalf of another application. Caller must hold - * {@link android.Manifest.permission#MODIFY_NETWORK_ACCOUNTING} permission. By default + * {@code android.Manifest.permission#MODIFY_NETWORK_ACCOUNTING} permission. By default * traffic is attributed to UID of caller. * <p> * <b>NOTE:</b>Setting a UID disallows sharing of sockets with requests |