summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2019-12-18 09:47:55 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-12-18 09:47:55 +0000
commitd035d367a91cb8ad94d1af4d9851c4f573f5ed8b (patch)
tree2d9f7d1fb388f17af5d814dfe50134c414b0dd72
parentc95af409222b327e76b918526ea2f1850ea92530 (diff)
parentb62b20fdf456b4406aaef5c267ae89c9b070d595 (diff)
Merge "Revise doc for NetworkShim"
-rw-r--r--apishim/29/com/android/networkstack/apishim/api29/NetworkShimImpl.java2
-rw-r--r--apishim/common/com/android/networkstack/apishim/NetworkShim.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/apishim/29/com/android/networkstack/apishim/api29/NetworkShimImpl.java b/apishim/29/com/android/networkstack/apishim/api29/NetworkShimImpl.java
index 642cc90..54b2be8 100644
--- a/apishim/29/com/android/networkstack/apishim/api29/NetworkShimImpl.java
+++ b/apishim/29/com/android/networkstack/apishim/api29/NetworkShimImpl.java
@@ -45,7 +45,7 @@ public class NetworkShimImpl implements NetworkShim {
/**
* Get the netId of the network.
- * Throw UnsupportedApiLevelException if API is not available in this API level.
+ * @throws UnsupportedApiLevelException if API is not available in this API level.
*/
@Override
public int getNetId() throws UnsupportedApiLevelException {
diff --git a/apishim/common/com/android/networkstack/apishim/NetworkShim.java b/apishim/common/com/android/networkstack/apishim/NetworkShim.java
index 4cdde7f..fcc66be 100644
--- a/apishim/common/com/android/networkstack/apishim/NetworkShim.java
+++ b/apishim/common/com/android/networkstack/apishim/NetworkShim.java
@@ -28,7 +28,7 @@ public interface NetworkShim {
/**
* @see android.net.Network.netId.
*
- * Throw UnsupportedApiLevelException if API is not available in the API level.
+ * @throws UnsupportedApiLevelException if API is not available in the API level.
*/
int getNetId() throws UnsupportedApiLevelException;
}