ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ConcurrentHashMap.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ConcurrentHashMap.java (file contents):
Revision 1.201 by dl, Thu Apr 11 17:41:10 2013 UTC vs.
Revision 1.202 by jsr166, Thu Apr 11 17:50:12 2013 UTC

# Line 759 | Line 759 | public class ConcurrentHashMap<K,V>
759          @SuppressWarnings("unchecked")
760          static int cccompare(Class<?> cc, Object k, Object x) {
761              Class<?> cx = comparableClassFor(x);
762 <            return ((cc == null)? ((cx == null)? 0 : 1) :
762 >            return ((cc == null) ? ((cx == null) ? 0 : 1) :
763                      (cx == null) ? -1 :
764                      (cx == cc) ? ((Comparable<Object>)k).compareTo(x) :
765                      cc.getName().compareTo(cx.getName()));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines