Revize 7bf2464a
Přidáno uživatelem Jakub Šmíd před asi 2 roky(ů)
backend/src/main/java/cz/zcu/kiv/backendapi/catalog/CatalogItem.java | ||
---|---|---|
119 | 119 |
|
120 | 120 |
this.name = csvFields.get(1); |
121 | 121 |
Set<String> stringList = processListField(csvFields.get(2)); |
122 |
stringList.add(this.name); |
|
122 | 123 |
this.alternativeNames = stringList.stream().map(s -> new AlternativeName(s, this)).collect(Collectors.toSet()); |
123 | 124 |
|
124 | 125 |
this.certainty = processIntField(csvFields.get(3)); |
Také k dispozici: Unified diff
Added controller and some tests for external catalog
re #9624