if (this.downlink != paramDownlink) { if (this.downlink != null) { Downlink old = this.downlink; this.downlink = null; old.setDownlinkOwner(null); } this.downlink = paramDownlink; if (paramDownlink != null) { paramDownlink.setDownlinkOwner(this); } }
if (this.downlink != paramDownlink) { if (this.downlink != null) { Downlink old = this.downlink;  this.downlink = null;  old.setDownlinkOwner(null); }  this.downlink = paramDownlink;  if (paramDownlink != null) { paramDownlink.setDownlinkOwner(this); }
    public void setDownlink(Downlink paramDownlink) {        if (this.downlink != paramDownlink) {            if (this.downlink != null) {                Downlink old = this.downlink;                this.downlink = null;                old.setDownlinkOwner(null);            }            this.downlink = paramDownlink;            if (paramDownlink != null) {                paramDownlink.setDownlinkOwner(this);            }        }    }