--- jsr166/src/jsr166x/ConcurrentSkipListSet.java 2010/09/01 20:12:39 1.9 +++ jsr166/src/jsr166x/ConcurrentSkipListSet.java 2011/03/15 19:47:02 1.12 @@ -1,7 +1,7 @@ /* * Written by Doug Lea with assistance from members of JCP JSR-166 * Expert Group and released to the public domain, as explained at - * http://creativecommons.org/licenses/publicdomain + * http://creativecommons.org/publicdomain/zero/1.0/ */ package jsr166x; @@ -487,7 +487,7 @@ public class ConcurrentSkipListSet * @param fromElement inclusive least value, or null if from start * @param toElement exclusive upper bound or null if to end * @throws IllegalArgumentException if fromElement and toElement - * nonnull and fromElement greater than toElement + * non-null and fromElement greater than toElement */ ConcurrentSkipListSubSet(ConcurrentSkipListMap map, E fromElement, E toElement) { @@ -541,11 +541,11 @@ public class ConcurrentSkipListSet } public E pollFirst() { Map.Entry e = s.pollFirstEntry(); - return (e == null)? null : e.getKey(); + return (e == null) ? null : e.getKey(); } public E pollLast() { Map.Entry e = s.pollLastEntry(); - return (e == null)? null : e.getKey(); + return (e == null) ? null : e.getKey(); } }