Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > f89d19147292dbb779bcb3120e006b13 > files > 1

guava09-09-2.mga3.src.rpm

--- src/com/google/common/collect/Maps.java	2011-03-19 04:38:17.000000000 +0100
+++ src/com/google/common/collect/Maps.java-gil	2011-09-29 20:08:12.736758753 +0200
@@ -224,8 +224,8 @@
    * @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: