Patch p = (Patch) this.clone(); ErrorMsg.reportStatus("Patch.getTransferData: flavor=" + flavor); ErrorMsg.reportStatus("Patch.getTransferData: Patch=" + p + ", " + p.comment); return p;
return (Patch) this;
    public Object getTransferData(DataFlavor flavor)            throws UnsupportedFlavorException, IOException {        Patch p = (Patch) this.clone();        ErrorMsg.reportStatus("Patch.getTransferData: flavor=" + flavor);        ErrorMsg.reportStatus("Patch.getTransferData: Patch=" + p + ", " + p.comment);        return p;    }