public boolean equals()

in utils/src/main/java/com/google/apphosting/utils/config/QueueXml.java [458:491]


    public boolean equals(Object obj) {
      if (this == obj) return true;
      if (obj == null) return false;
      if (getClass() != obj.getClass()) return false;
      Entry other = (Entry) obj;
      if (acl == null) {
        if (other.acl != null) return false;
      } else if (!acl.equals(other.acl)) return false;
      if (bucketSize == null) {
        if (other.bucketSize != null) return false;
      } else if (!bucketSize.equals(other.bucketSize)) return false;
      if (maxConcurrentRequests == null) {
        if (other.maxConcurrentRequests != null) return false;
      } else if (!maxConcurrentRequests.equals(other.maxConcurrentRequests)) return false;
      if (mode == null) {
        if (other.mode != null) return false;
      } else if (!mode.equals(other.mode)) return false;
      if (name == null) {
        if (other.name != null) return false;
      } else if (!name.equals(other.name)) return false;
      if (rate == null) {
        if (other.rate != null) return false;
      } else if (!rate.equals(other.rate)) return false;
      if (rateUnit == null) {
        if (other.rateUnit != null) return false;
      } else if (!rateUnit.equals(other.rateUnit)) return false;
      if (target == null) {
        if (other.target != null) return false;
      } else if (!target.equals(other.target)) return false;
      if (retryParameters == null) {
        if (other.retryParameters != null) return false;
      } else if (!retryParameters.equals(other.retryParameters)) return false;
      return true;
    }