mirror of https://github.com/apache/cassandra
Fix build
This commit is contained in:
parent
93012e43ea
commit
a4b8d1e9bc
|
|
@ -32,7 +32,6 @@ import org.apache.cassandra.config.ColumnDefinition;
|
|||
import org.apache.cassandra.db.rows.BTreeRow;
|
||||
import org.apache.cassandra.db.rows.BufferCell;
|
||||
import org.apache.cassandra.db.rows.Cell;
|
||||
import org.apache.cassandra.db.rows.CellPath;
|
||||
import org.apache.cassandra.db.rows.Cells;
|
||||
import org.apache.cassandra.db.context.CounterContext;
|
||||
import org.apache.cassandra.db.rows.Row;
|
||||
|
|
@ -292,10 +291,10 @@ public class CounterCellTest
|
|||
ColumnFamilyStore cfs = Keyspace.open(KEYSPACE1).getColumnFamilyStore(COUNTER1);
|
||||
|
||||
ColumnDefinition emptyColDef = cfs.metadata.getColumnDefinition(ByteBufferUtil.bytes("val2"));
|
||||
BufferCell emptyCell = BufferCell.live(emptyColDef, 0, ByteBuffer.allocate(0));
|
||||
BufferCell emptyCell = BufferCell.live(cfs.metadata, emptyColDef, 0, ByteBuffer.allocate(0));
|
||||
|
||||
Row.Builder builder = BTreeRow.unsortedBuilder(0);
|
||||
builder.newRow(Clustering.make(AsciiSerializer.instance.serialize("test")));
|
||||
builder.newRow(new Clustering(AsciiSerializer.instance.serialize("test")));
|
||||
builder.addCell(emptyCell);
|
||||
Row row = builder.build();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue