Ejemplo n.º 1
0
 public synchronized boolean equals(java.lang.Object obj) {
   if (!(obj instanceof License)) return false;
   License other = (License) obj;
   if (obj == null) return false;
   if (this == obj) return true;
   if (__equalsCalc != null) {
     return (__equalsCalc == obj);
   }
   __equalsCalc = obj;
   boolean _equals;
   _equals =
       true
           && ((this.p == null && other.getP() == null)
               || (this.p != null && java.util.Arrays.equals(this.p, other.getP())))
           && ((this.licenseType == null && other.getLicenseType() == null)
               || (this.licenseType != null && this.licenseType.equals(other.getLicenseType())));
   __equalsCalc = null;
   return _equals;
 }