diff options
author | Steve Kondik <shade@chemlab.org> | 2012-07-10 11:30:04 -0700 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2012-07-10 11:30:04 -0700 |
commit | c8b97210aa31c9b80b5fd136d8617ebe4e731e09 (patch) | |
tree | 1d5e66c80191e435980025bc70449be673f0aee7 | |
parent | adee4a2c97a40a92d5b65962d73321e3da4e2679 (diff) | |
download | android_external_guava-jellybean-stable.tar.gz android_external_guava-jellybean-stable.tar.bz2 android_external_guava-jellybean-stable.zip |
Add Ubuntu patch to work around OpenJDK bugjellybean-stablejellybean
Change-Id: Ide9497aeba2570c5151cd7f6e6e4cea6480d3885
-rw-r--r-- | guava/src/com/google/common/collect/Maps.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guava/src/com/google/common/collect/Maps.java b/guava/src/com/google/common/collect/Maps.java index 2aea6b7..703c447 100644 --- a/guava/src/com/google/common/collect/Maps.java +++ b/guava/src/com/google/common/collect/Maps.java @@ -225,8 +225,8 @@ public final class Maps { * @param comparator the comparator to sort the keys with * @return a new, empty {@code TreeMap} */ - public static <C, K extends C, V> TreeMap<K, V> newTreeMap( - @Nullable Comparator<C> comparator) { + public static <K, V> TreeMap<K, V> newTreeMap( + @Nullable Comparator<? super K> comparator) { // Ideally, the extra type parameter "C" shouldn't be necessary. It is a // work-around of a compiler type inference quirk that prevents the // following code from being compiled: |