Add extra constructor

MYC-Refactor
Hammy 3 years ago
parent bf3a473d89
commit 3da56bbd45

@ -8,6 +8,10 @@ class MyClipboardContent<T> {
MyClipboardContent() { MyClipboardContent() {
} }
MyClipboardContent(Object oldContent) {
this.oldContent = (T) oldContent;
}
public void setOldContent(Object oldContent) { public void setOldContent(Object oldContent) {
this.oldContent = (T) oldContent; this.oldContent = (T) oldContent;
} }

Loading…
Cancel
Save