# | Line 2327 | Line 2327 | public class ConcurrentHashMapV8<K, V> | |
---|---|---|
2327 | } | |
2328 | ||
2329 | public final void remove() { | |
2330 | < | if (nextVal == null) |
2330 | > | if (nextVal == null && last == null) |
2331 | advance(); | |
2332 | Node e = last; | |
2333 | if (e == null) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |