Skip to content

Commit dd4b8dc

Browse files
java-team-github-botError Prone Team
authored and
Error Prone Team
committed
Migrate ErrorProne docs to AndroidX
Classes in the `android.support` package were moved to `androidx` in 2018. PiperOrigin-RevId: 478823427
1 parent 0164cbc commit dd4b8dc

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

docs/bugpattern/ArrayEquals.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
Generally when comparing arrays for equality, the programmer intends to check
22
that the contents of the arrays are equal rather than that they are actually the
33
same object. But many commonly used equals methods compare arrays for reference
4-
equality rather than content equality. These include the instance .equals()
5-
method, Guava's com.google.common.base.Objects#equal(), JDK's
6-
java.util.Objects#equals(), and Android's
7-
android.support.v4.util.ObjectsCompat#equals.
4+
equality rather than content equality. These include the instance `.equals()`
5+
method, Guava's `com.google.common.base.Objects#equal()`, JDK's
6+
`java.util.Objects#equals()`, and Android's
7+
`androidx.core.ObjectsCompat#equals()`.
88

9-
If reference equality is needed, == should be used instead for clarity.
10-
Otherwise, use java.util.Arrays#equals() to compare the contents of the arrays.
9+
If reference equality is needed, `==` should be used instead for clarity.
10+
Otherwise, use `java.util.Arrays#equals()` to compare the contents of the
11+
arrays.

docs/bugpattern/MissingSuperCall.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
API providers may annotate a method with an annotation like
2-
`android.support.annotation.CallSuper` or
2+
`androidx.annotation.CallSuper` or
33
`javax.annotation.OverridingMethodsMustInvokeSuper` to require that overriding
44
methods invoke the super method. This check enforces those annotations.

0 commit comments

Comments
 (0)