ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jsr166e/ConcurrentHashMapV8.java
(Generate patch)

Comparing jsr166/src/jsr166e/ConcurrentHashMapV8.java (file contents):
Revision 1.14 by dl, Tue Sep 6 00:26:27 2011 UTC vs.
Revision 1.15 by jsr166, Thu Sep 8 23:34:50 2011 UTC

# Line 797 | Line 797 | public class ConcurrentHashMapV8<K, V>
797          InternalIterator(Node[] tab, int lo, int hi) {
798              this.tab = tab;
799              baseSize = (tab == null) ? 0 : tab.length;
800 <            baseLimit = (hi <= baseSize)? hi : baseSize;
800 >            baseLimit = (hi <= baseSize) ? hi : baseSize;
801              index = baseIndex = lo;
802              next = null;
803              advance();
# Line 917 | Line 917 | public class ConcurrentHashMapV8<K, V>
917       */
918      public int size() {
919          long n = counter.sum();
920 <        return ((n < 0L)? 0 :
921 <                (n > (long)Integer.MAX_VALUE)? Integer.MAX_VALUE :
920 >        return ((n < 0L) ? 0 :
921 >                (n > (long)Integer.MAX_VALUE) ? Integer.MAX_VALUE :
922                  (int)n);
923      }
924  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines