}</BUG>
public HTableDescriptor adapt(Table table) {
String tableId = bigtableInstanceName.toTableId(table.getName());
HTableDescriptor tableDescriptor = new HTableDescriptor(TableName.valueOf(tableId));
<BUG>for (Entry<String, ColumnFamily> entry : table.getColumnFamilies().entrySet()) {
</BUG>
tableDescriptor.addFamily(columnDescriptorAdapter.adapt(entry.getKey(), entry.getValue()));
}
return tableDescriptor;
}

for (HColumnDescriptor column : desc.getColumnFamilies()) {
String columnName = column.getNameAsString();
ColumnFamily columnFamily = columnDescriptorAdapter.adapt(column).build();
columnFamilies.put(columnName, columnFamily);
}
return Table.newBuilder().putAllColumnFamilies(columnFamilies).build();
}
public HTableDescriptor adapt(Table table) {
String tableId = bigtableInstanceName.toTableId(table.getName());
HTableDescriptor tableDescriptor = new HTableDescriptor(TableName.valueOf(tableId));
for (Entry<String, ColumnFamily> entry : table.getColumnFamiliesMap().entrySet()) {
tableDescriptor.addFamily(columnDescriptorAdapter.adapt(entry.getKey(), entry.getValue()));
}
return tableDescriptor;
