Skip to content

Commit

Permalink
Deprecate IBDO.clone()/BDO.clone() in preparation for deletion per So…
Browse files Browse the repository at this point in the history
…nar warning. (#707)
  • Loading branch information
jdcove2 authored Feb 28, 2024
1 parent 0c4b7f2 commit c24aac8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/emissary/core/BaseDataObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -1310,6 +1310,7 @@ public void setPriority(final int priority) {
/**
* Clone this payload
*/
@Deprecated
@Override
public IBaseDataObject clone() throws CloneNotSupportedException {
final BaseDataObject c = (BaseDataObject) super.clone();
Expand Down
1 change: 1 addition & 0 deletions src/main/java/emissary/core/IBaseDataObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,7 @@ enum MergePolicy {
/**
* Support deep copy via clone
*/
@Deprecated
IBaseDataObject clone() throws CloneNotSupportedException;

/**
Expand Down

0 comments on commit c24aac8

Please sign in to comment.