- SequenceFeature newSf = new SequenceFeature(enteredType,
- enteredDescription, newBegin, newEnd, sf.getScore(),
- enteredGroup);
- // ensure any additional properties are copied
- if (sf.otherDetails != null)
- {
- newSf.otherDetails = new HashMap<String, Object>(sf.otherDetails);
- }
+ SequenceFeature newSf = new SequenceFeature(sf, enteredType,
+ newBegin, newEnd, enteredGroup, sf.getScore());
+ newSf.setDescription(enteredDescription);