diff --git a/android/guava/src/com/google/common/collect/ImmutableSortedMap.java b/android/guava/src/com/google/common/collect/ImmutableSortedMap.java index 42fcd3076d4d..c248cd0ccc33 100644 --- a/android/guava/src/com/google/common/collect/ImmutableSortedMap.java +++ b/android/guava/src/com/google/common/collect/ImmutableSortedMap.java @@ -187,8 +187,8 @@ public static ImmutableSortedMap copyOf( } /** - * Returns an immutable map containing the given entries, with keys sorted by the provided - * comparator. + * Returns an immutable map containing the given entries, with keys sorted by their natural + * ordering. * *

This method is not type-safe, as it may be called on a map with keys that are not mutually * comparable. diff --git a/guava/src/com/google/common/collect/ImmutableSortedMap.java b/guava/src/com/google/common/collect/ImmutableSortedMap.java index d557f01cb996..04b7cedda991 100644 --- a/guava/src/com/google/common/collect/ImmutableSortedMap.java +++ b/guava/src/com/google/common/collect/ImmutableSortedMap.java @@ -232,8 +232,8 @@ public static ImmutableSortedMap copyOf( } /** - * Returns an immutable map containing the given entries, with keys sorted by the provided - * comparator. + * Returns an immutable map containing the given entries, with keys sorted by their natural + * ordering. * *

This method is not type-safe, as it may be called on a map with keys that are not mutually * comparable.