Merge "Address comments on aosp/2765367" into main am: 6dfb7c7c90
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2769238
Change-Id: Ie52dd5f8028785220b67a59f5866d550a45e9dfb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/staticlibs/testutils/devicetests/com/android/testutils/DevSdkIgnoreRunner.kt b/staticlibs/testutils/devicetests/com/android/testutils/DevSdkIgnoreRunner.kt
index 950107c..2d281fd 100644
--- a/staticlibs/testutils/devicetests/com/android/testutils/DevSdkIgnoreRunner.kt
+++ b/staticlibs/testutils/devicetests/com/android/testutils/DevSdkIgnoreRunner.kt
@@ -42,7 +42,7 @@
* the whole class if they do not match the development SDK as defined in [DevSdkIgnoreRule].
* Otherwise, it will delegate to [AndroidJUnit4] to run the test as usual.
*
- * This class automatically uses the Parameterized runner as its base runner, so the
+ * This class automatically uses the Parameterized runner as its base runner when needed, so the
* @Parameterized.Parameters annotation and its friends can be used in tests using this runner.
*
* Example usage:
@@ -69,7 +69,7 @@
null
} else if (it.hasParameterizedMethod()) {
// Parameterized throws if there is no static method annotated with @Parameters, which
- // isn't too useful. Use if it there are, otherwise use its base AndroidJUnit4 runner.
+ // isn't too useful. Use it if there are, otherwise use its base AndroidJUnit4 runner.
RunnerWrapper(Parameterized(klass))
} else {
RunnerWrapper(AndroidJUnit4(klass))