if (targetDataSet != sourceDataSet) {
// TODO: use MergeCommand instead?
List<PrimitiveData> newObjects = ConflationUtils.copyObjects(sourceDataSet, match.getReferenceObject());
// FIXME: bad form to execute command in constructor, how to fix?
addPrimitivesCommand = new AddPrimitivesCommand(newObjects, newObjects, settings.getSubjectLayer());
if (!addPrimitivesCommand.executeCommand())
throw new AssertionError();
}
// need to copy from other layer before this?