Skip to content

Commit

Permalink
Internal change.
Browse files Browse the repository at this point in the history
RELNOTES=n/a
PiperOrigin-RevId: 634384683
  • Loading branch information
cpovirk authored and Google Java Core Libraries committed May 16, 2024
1 parent 225c1b5 commit dc200d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
8 changes: 1 addition & 7 deletions android/guava/src/com/google/common/base/Equivalence.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
* The type parameter is <T> rather than <T extends @Nullable> so that we can use T in the
* doEquivalent and doHash methods to indicate that the parameter cannot be null.
*/
public abstract class Equivalence<T>
{
public abstract class Equivalence<T> {
/** Constructor for use by subclasses. */
protected Equivalence() {}

Expand Down Expand Up @@ -78,11 +77,6 @@ public final boolean equivalent(@CheckForNull T a, @CheckForNull T b) {
}

/**
* Implemented by the user to determine whether {@code a} and {@code b} are considered equivalent,
* subject to the requirements specified in {@link #equivalent}.
*
* <p>This method should not be called except by {@link #equivalent}. When {@link #equivalent}
* calls this method, {@code a} and {@code b} are guaranteed to be distinct, non-null instances.
*
* @since 10.0 (previously, subclasses would override equivalent())
*/
Expand Down
3 changes: 1 addition & 2 deletions android/guava/src/com/google/common/base/Function.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
*/
@GwtCompatible
@ElementTypesAreNonnullByDefault
public interface Function<F extends @Nullable Object, T extends @Nullable Object>
{
public interface Function<F extends @Nullable Object, T extends @Nullable Object> {
/**
* Returns the result of applying this function to {@code input}. This method is <i>generally
* expected</i>, but not absolutely required, to have the following properties:
Expand Down

0 comments on commit dc200d3

Please sign in to comment.