From c6979849a7c92ec10f019cf3358d06ff5ccc122c Mon Sep 17 00:00:00 2001 From: Rick Ossendrijver Date: Thu, 17 Feb 2022 16:58:43 +0100 Subject: [PATCH] `TypesWithUndefinedEquality`: sort typenames of enum --- .../bugpatterns/TypesWithUndefinedEquality.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/TypesWithUndefinedEquality.java b/core/src/main/java/com/google/errorprone/bugpatterns/TypesWithUndefinedEquality.java index 722edb501ef..c14cfbb5ff1 100644 --- a/core/src/main/java/com/google/errorprone/bugpatterns/TypesWithUndefinedEquality.java +++ b/core/src/main/java/com/google/errorprone/bugpatterns/TypesWithUndefinedEquality.java @@ -29,13 +29,13 @@ public enum TypesWithUndefinedEquality { DATE("Date", "java.util.Date"), IMMUTABLE_COLLECTION("ImmutableCollection", "com.google.common.collect.ImmutableCollection"), IMMUTABLE_MULTIMAP("ImmutableMultimap", "com.google.common.collect.ImmutableMultimap"), - ITERABLE("Iterable", "java.lang.Iterable", "com.google.common.collect.FluentIterable"), + ITERABLE("Iterable", "com.google.common.collect.FluentIterable", "java.lang.Iterable"), LONG_SPARSE_ARRAY( "LongSparseArray", - "android.util.LongSparseArray", "android.support.v4.util.LongSparseArrayCompat", - "androidx.core.util.LongSparseArrayCompat", - "androidx.collection.LongSparseArrayCompat"), + "android.util.LongSparseArray", + "androidx.collection.LongSparseArrayCompat", + "androidx.core.util.LongSparseArrayCompat"), MULTIMAP("Multimap", "com.google.common.collect.Multimap"), QUEUE("Queue", "java.util.Queue"), SPARSE_ARRAY("SparseArray", "android.util.SparseArray", "androidx.collection.SparseArrayCompat");