Skip to content

Commit

Permalink
clone annotation in definition
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed Aug 28, 2018
1 parent 77a7c93 commit 5015ba3
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -281,6 +281,9 @@ protected void copyDefinitionData(DefinitionImpl clone) {
clone.emphasized = this.emphasized;
clone.experimental = this.experimental;
clone.elaborate = this.elaborate;
if (this.annotations != null) {
clone.annotations = new HashMap<>(this.annotations);
}
}

@SuppressWarnings("ConstantConditions")
Expand Down

0 comments on commit 5015ba3

Please sign in to comment.