}
public DBRefEntry(DBRefEntry entry)
{
- this(new String(entry.source), new String(entry.version), new String(entry.accessionId), new Mapping(entry.map));
+ this((entry.source==null ? "" : new String(entry.source)),
+ (entry.version==null ? "" : new String(entry.version)),
+ (entry.accessionId==null ? "" : new String(entry.accessionId)),
+ (entry.map==null ? null : new Mapping(entry.map)));
}
public boolean equals(DBRefEntry entry) {
if (entry==this)