doc.setHighlighting(csvRecord.get(FileSourceDto.CSV_INDEX_HIGHLIGHTING));
doc.setSymbols(csvRecord.get(FileSourceDto.CSV_INDEX_SYMBOLS));
-
doc.setDuplications(parseDuplications(csvRecord.get(FileSourceDto.CSV_INDEX_DUPLICATIONS)));
- doc.setSource(csvRecord.get(FileSourceDto.CSV_INDEX_SOURCE));
+
+ // source is always the latest field. All future fields will be added between duplications (14) and source.
+ doc.setSource(csvRecord.get(csvRecord.size()-1));
result.addLine(doc);
public static final int CSV_INDEX_HIGHLIGHTING = 12;
public static final int CSV_INDEX_SYMBOLS = 13;
public static final int CSV_INDEX_DUPLICATIONS = 14;
- public static final int CSV_INDEX_SOURCE = 15;
private Long id;
private String projectUuid;