Program: 186140
Project: 186140
Buggy source:
private static void checkSuperColumns(Keyspace keyspace,String expectedColumnFamilyName,RowModel expectedRowModel) throws Error {
  List<SuperColumnModel> expectedSuperColumns=expectedRowModel.getSuperColumns();
  checkNumberOfSuperColumns(keyspace,expectedColumnFamilyName,expectedRowModel,expectedSuperColumns.size());
  for (  SuperColumnModel expectedSuperColumnModel : expectedSuperColumns) {
    GenericType expectedSuperColumnName=expectedSuperColumnModel.getName();
    SuperColumnQuery<byte[],byte[],byte[],byte[]> createSuperColumnQuery=HFactory.createSuperColumnQuery(keyspace,BytesArraySerializer.get(),BytesArraySerializer.get(),BytesArraySerializer.get(),BytesArraySerializer.get());
    createSuperColumnQuery.setColumnFamily(expectedColumnFamilyName);
    createSuperColumnQuery.setKey(getBytes(expectedRowModel.getKey()));
    createSuperColumnQuery.setSuperName(getBytes(expectedSuperColumnName));
    QueryResult<HSuperColumn<byte[],byte[],byte[]>> supercolumn=createSuperColumnQuery.execute();
    List<ColumnModel> expectedColumns=expectedSuperColumnModel.getColumns();
    HSuperColumn<byte[],byte[],byte[]> hSuperColumn=supercolumn.get();
    checkSuperColumnNameAndKey(expectedSuperColumnName,hSuperColumn);
    List<HColumn<byte[],byte[]>> columns=hSuperColumn.getColumns();
    checkNumberOfColumnsInsideSuperColumn(expectedSuperColumnModel.getName().getValue(),expectedRowModel.getKey().getValue(),expectedColumns.size(),columns.size());
    checkColumnsOfSuperColumn(expectedRowModel,expectedSuperColumnModel,expectedColumns,columns);
  }
}

Fixed version (ground truth):
private static void checkSuperColumns(Keyspace keyspace,ColumnFamilyModel expectedColumnFamilyModel,RowModel expectedRowModel) throws Error {
  String expectedColumnFamilyName=expectedColumnFamilyModel.getName();
  List<SuperColumnModel> expectedSuperColumns=expectedRowModel.getSuperColumns();
  checkNumberOfSuperColumns(keyspace,expectedColumnFamilyName,expectedRowModel,expectedSuperColumns.size());
  for (  SuperColumnModel expectedSuperColumnModel : expectedSuperColumns) {
    GenericType expectedSuperColumnName=expectedSuperColumnModel.getName();
    SuperColumnQuery<byte[],byte[],byte[],byte[]> createSuperColumnQuery=HFactory.createSuperColumnQuery(keyspace,BytesArraySerializer.get(),BytesArraySerializer.get(),BytesArraySerializer.get(),BytesArraySerializer.get());
    createSuperColumnQuery.setColumnFamily(expectedColumnFamilyName);
    createSuperColumnQuery.setKey(getBytes(expectedRowModel.getKey()));
    createSuperColumnQuery.setSuperName(getBytes(expectedSuperColumnName));
    QueryResult<HSuperColumn<byte[],byte[],byte[]>> supercolumn=createSuperColumnQuery.execute();
    List<ColumnModel> expectedColumns=expectedSuperColumnModel.getColumns();
    HSuperColumn<byte[],byte[],byte[]> hSuperColumn=supercolumn.get();
    checkSuperColumnNameAndKey(expectedSuperColumnName,hSuperColumn);
    List<HColumn<byte[],byte[]>> columns=hSuperColumn.getColumns();
    checkNumberOfColumnsInsideSuperColumn(expectedSuperColumnModel.getName().getValue(),expectedRowModel.getKey().getValue(),expectedColumns.size(),columns.size());
    checkColumnsOfSuperColumn(expectedRowModel,expectedSuperColumnModel,expectedColumns,columns);
  }
}