Permalink
Browse files

remove duplicate line

  • Loading branch information...
1 parent 39cf55a commit 3e0b21c45aead137250c30bba1224d213debe73b @mebigfatguy mebigfatguy committed Apr 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/java/org/apache/cassandra/db/index/composites/CompositesIndex.java
@@ -99,7 +99,7 @@ public void delete(IndexedEntry entry)
{
int localDeletionTime = (int) (System.currentTimeMillis() / 1000);
ColumnFamily cfi = ArrayBackedSortedColumns.factory.create(indexCfs.metadata);
- cfi.addTombstone(entry.indexEntry, (int) (System.currentTimeMillis() / 1000), entry.timestamp);
+ cfi.addTombstone(entry.indexEntry, localDeletionTime, entry.timestamp);
indexCfs.apply(entry.indexValue, cfi, SecondaryIndexManager.nullUpdater);
if (logger.isDebugEnabled())
logger.debug("removed index entry for cleaned-up value {}:{}", entry.indexValue, cfi);

0 comments on commit 3e0b21c

Please sign in to comment.