Author: slebresne Date: Thu Nov 10 09:12:29 2011 New Revision: 1200226 URL: http://svn.apache.org/viewvc?rev=1200226&view=rev Log: remove duplicated code
Modified: cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/SuperColumn.java Modified: cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/SuperColumn.java URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/SuperColumn.java?rev=1200226&r1=1200225&r2=1200226&view=diff ============================================================================== --- cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/SuperColumn.java (original) +++ cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/SuperColumn.java Thu Nov 10 09:12:29 2011 @@ -443,10 +443,6 @@ class SuperColumnSerializer implements I ColumnSerializer serializer = Column.serializer(); ColumnSortedMap preSortedMap = new ColumnSortedMap(comparator, serializer, dis, interner, size, fromRemote, expireBefore); SuperColumn superColumn = new SuperColumn(name, new ConcurrentSkipListMap<ByteBuffer,IColumn>(preSortedMap)); - if (localDeleteTime != Integer.MIN_VALUE && localDeleteTime <= 0) - { - throw new IOException("Invalid localDeleteTime read: " + localDeleteTime); - } superColumn.markForDeleteAt(localDeleteTime, markedForDeleteAt); return superColumn; }