Updated Branches: refs/heads/trunk 81f8c75d3 -> 2aeb30cf7
remove dead code Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/2aeb30cf Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/2aeb30cf Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/2aeb30cf Branch: refs/heads/trunk Commit: 2aeb30cf778de079f3a473c167c534085f95714d Parents: 81f8c75d Author: Dave Brosius <dbros...@mebigfatguy.com> Authored: Thu Dec 19 20:06:09 2013 -0500 Committer: Dave Brosius <dbros...@mebigfatguy.com> Committed: Thu Dec 19 20:06:09 2013 -0500 ---------------------------------------------------------------------- src/java/org/apache/cassandra/config/ColumnDefinition.java | 1 - 1 file changed, 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/2aeb30cf/src/java/org/apache/cassandra/config/ColumnDefinition.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/config/ColumnDefinition.java b/src/java/org/apache/cassandra/config/ColumnDefinition.java index ef6f589..f16a0a6 100644 --- a/src/java/org/apache/cassandra/config/ColumnDefinition.java +++ b/src/java/org/apache/cassandra/config/ColumnDefinition.java @@ -289,7 +289,6 @@ public class ColumnDefinition extends ColumnSpecification ColumnFamily cf = rm.addOrGet(CFMetaData.SchemaColumnsCf); int ldt = (int) (System.currentTimeMillis() / 1000); - ByteBuffer nameBytes = ByteBufferUtil.bytes(name.toString()); // Note: we do want to use name.toString(), not name.bytes directly for backward compatibility (For CQL3, this won't make a difference). Composite prefix = CFMetaData.SchemaColumnsCf.comparator.make(cfName, name.toString()); cf.addAtom(new RangeTombstone(prefix, prefix.end(), timestamp, ldt));