aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2012-07-10 11:30:04 -0700
committerSteve Kondik <shade@chemlab.org>2012-07-10 11:30:04 -0700
commitc8b97210aa31c9b80b5fd136d8617ebe4e731e09 (patch)
tree1d5e66c80191e435980025bc70449be673f0aee7
parentadee4a2c97a40a92d5b65962d73321e3da4e2679 (diff)
downloadandroid_external_guava-jellybean.tar.gz
android_external_guava-jellybean.tar.bz2
android_external_guava-jellybean.zip
Add Ubuntu patch to work around OpenJDK bugjellybean-stablejellybean
Change-Id: Ide9497aeba2570c5151cd7f6e6e4cea6480d3885
-rw-r--r--guava/src/com/google/common/collect/Maps.java4
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: