# | Line 642 | Line 642 | public class CustomConcurrentHashMap<K, | |
---|---|---|
642 | int index = (hash >>> SEGMENT_SHIFT) & SEGMENT_MASK; | |
643 | Segment seg = segs[index]; | |
644 | if (seg == null) { | |
645 | < | synchronized(segs) { |
645 | > | synchronized (segs) { |
646 | seg = segs[index]; | |
647 | if (seg == null) { | |
648 | seg = new Segment(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |