return result;
} else {
return Collections.emptyList();
}
}
<BUG>public void insert(Block block) {
CloneBlock dbBlock = new CloneBlock(currentSnapshotId,
block.getBlockHash().toString(),
block.getResourceId(),</BUG>
block.getIndexInFile(),

return result;
} else {
return Collections.emptyList();
}
}
public void insert(Resource resource, Collection<Block> blocks) {
int resourceSnapshotId = getSnapshotIdFor(resource);
for (Block block : blocks) {
CloneBlock dbBlock = new CloneBlock(
currentProjectSnapshotId,
resourceSnapshotId,
block.getBlockHash().toString(),
block.getIndexInFile(),
