Revision 325d4d8e
Added by Andreas Müller almost 8 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/CommonServiceImpl.java | ||
---|---|---|
82 | 82 |
|
83 | 83 |
@Override |
84 | 84 |
public ISourceable getSourcedObjectByIdInSource(Class clazz, String idInSource, String idNamespace) { |
85 |
ISourceable result = null; |
|
85 |
ISourceable<?> result = null;
|
|
86 | 86 |
List<IdentifiableEntity> list = originalSourceDao.findOriginalSourceByIdInSource(clazz, idInSource, idNamespace); |
87 | 87 |
if (! list.isEmpty()){ |
88 | 88 |
result = list.get(0); |
Also available in: Unified diff
Cleanup