Revision 032bbbac
Added by Katja Luther almost 6 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/ReferenceServiceImpl.java | ||
---|---|---|
175 | 175 |
daoResults = dao.findByIdentifierAbbrev( identifier, identifierType, |
176 | 176 |
matchmode, limit); |
177 | 177 |
} |
178 |
//if(numberOfResultsTitle > 0) { |
|
179 |
daoResultsTitle = dao.getUuidAndAbbrevTitleCache(100, identifier, null); |
|
180 |
//} |
|
178 |
daoResultsTitle = dao.getUuidAndAbbrevTitleCache(100, identifier, null); |
|
179 |
|
|
181 | 180 |
List<IdentifiedEntityDTO<Reference>> result = new ArrayList<>(); |
182 | 181 |
for (Object[] daoObj : daoResults){ |
183 | 182 |
result.add(new IdentifiedEntityDTO<Reference>((DefinedTerm)daoObj[0], (String)daoObj[1], (UUID)daoObj[2], (String)daoObj[3],(String)daoObj[4])); |
Also available in: Unified diff
code cleaning