Skip to content

Commit

Permalink
fixed problem with metadata duplication in Docstruct copy method
Browse files Browse the repository at this point in the history
  • Loading branch information
rsehr committed Nov 19, 2014
1 parent 40c56b6 commit 7f699d4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ugh/src/ugh/dl/DocStruct.java
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,6 @@ public DocStruct copy(boolean cpmetadata, boolean recursive) {
mdnew.setPersonList(newPersonList);
newStruct.addMetadataGroup(mdnew);

mdnew.setMetadataList(newmdlist);
newStruct.addMetadataGroup(mdnew);
} catch (DocStructHasNoTypeException e) {
// This should never happen, as we are adding the same
// MetadataType.
Expand Down

0 comments on commit 7f699d4

Please sign in to comment.