mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-2.1' into trunk
This commit is contained in:
commit
2da468d9bb
|
|
@ -153,10 +153,11 @@ public class DynamicList<E>
|
||||||
public void remove(Node<E> node)
|
public void remove(Node<E> node)
|
||||||
{
|
{
|
||||||
lock.writeLock().lock();
|
lock.writeLock().lock();
|
||||||
node.value = null;
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
assert node.value != null;
|
assert node.value != null;
|
||||||
|
node.value = null;
|
||||||
|
|
||||||
size--;
|
size--;
|
||||||
|
|
||||||
// go up through each level in the skip list, unlinking this node; this entails
|
// go up through each level in the skip list, unlinking this node; this entails
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue