duplications.add(Duplication.newTextComponent(componentDbKey, Integer.valueOf(from), Integer.valueOf(size))); } else { duplications.add(createDuplication(componentsByKey, branch, pullRequest, from, size, componentDbKey, session));
Duplication.newComponent(file, 57, 12), Duplication.newTextComponent("project:path/to/file", 73, 12))));