Skip to content

Instantly share code, notes, and snippets.

@noili
Last active April 25, 2017 14:14
Show Gist options
  • Save noili/fb70595a34ce25d2f5dba3d3f66b31dd to your computer and use it in GitHub Desktop.
Save noili/fb70595a34ce25d2f5dba3d3f66b31dd to your computer and use it in GitHub Desktop.
return ( ( this.getNucnfclt() == castOther.getNucnfclt() ) || ( this.getNucnfclt() != null && castOther.getNucnfclt() != null && this
.getNucnfclt().equals( castOther.getNucnfclt() ) ) )
&& ( ( this.getNbooking() == castOther.getNbooking() ) || ( this.getNbooking() != null && castOther.getNbooking() != null && this
.getNbooking().equals( castOther.getNbooking() ) ) )
&& ( ( this.getNuorden() == castOther.getNuorden() ) || ( this.getNuorden() != null && castOther.getNuorden() != null && this
.getNuorden().equals( castOther.getNuorden() ) ) );
return ( ( this.getCdcleare() == castOther.getCdcleare() ) || ( this.getCdcleare() != null && castOther.getCdcleare() != null && this
.getCdcleare().equals( castOther.getCdcleare() ) ) )
&& ( ( this.getCentro() == castOther.getCentro() ) || ( this.getCentro() != null && castOther.getCentro() != null && this
.getCentro().equals( castOther.getCentro() ) ) )
&& ( ( this.getCdmercad() == castOther.getCdmercad() ) || ( this.getCdmercad() != null && castOther.getCdmercad() != null && this
.getCdmercad().equals( castOther.getCdmercad() ) ) )
&& ( ( this.getNumsec() == castOther.getNumsec() ) || ( this.getNumsec() != null && castOther.getNumsec() != null && this
.getNumsec().equals( castOther.getNumsec() ) ) );
return ((this.getCdcleare() == castOther.getCdcleare()) || (this.getCdcleare() != null
&& castOther.getCdcleare() != null && this.getCdcleare()
.equals(castOther.getCdcleare())))
&& ((this.getCentro() == castOther.getCentro()) || (this.getCentro() != null
&& castOther.getCentro() != null && this.getCentro()
.equals(castOther.getCentro())))
&& ((this.getCdmercad() == castOther.getCdmercad()) || (this.getCdmercad() != null
&& castOther.getCdmercad() != null && this.getCdmercad()
.equals(castOther.getCdmercad())))
&& ((this.getNumsec() == castOther.getNumsec()) || (this.getNumsec() != null
&& castOther.getNumsec() != null && this.getNumsec()
.equals(castOther.getNumsec())));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment