Revision 892efc69
Added by Andreas Kohlbecker almost 14 years ago
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/dto/assembler/converter/LsidConverter.java | ||
---|---|---|
19 | 19 |
public class LsidConverter implements CustomConverter { |
20 | 20 |
|
21 | 21 |
public Object convert(Object destination, Object source, Class destClass, Class sourceClass) { |
22 |
if (source == null) { |
|
22 |
if (source == null || ((LSID)source).toString() == null || ((LSID)source).toString().equals("")) {
|
|
23 | 23 |
return null; |
24 | 24 |
} |
25 | 25 |
if (source instanceof LSID) { |
Also available in: Unified diff
merging /branches/cdmlib/SPRINT-Chichorieae1/ to trunk