From f6db6b02e4bfd86f38753b94940483a6ea937e29 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 ce7648641ce..484d0fa3029 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_MULTIMAP("ImmutableMultimap", "com.google.common.collect.ImmutableMultimap"), IMMUTABLE_COLLECTION("ImmutableCollection", "com.google.common.collect.ImmutableCollection"), - 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");