--- jsr166/src/jsr166x/ConcurrentSkipListSet.java 2009/11/24 03:57:04 1.8 +++ jsr166/src/jsr166x/ConcurrentSkipListSet.java 2010/11/29 20:58:06 1.11 @@ -253,9 +253,9 @@ public class ConcurrentSkipListSet Collection c = (Collection) o; try { return containsAll(c) && c.containsAll(this); - } catch(ClassCastException unused) { + } catch (ClassCastException unused) { return false; - } catch(NullPointerException unused) { + } catch (NullPointerException unused) { return false; } } @@ -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(); } }