public boolean equals()

in utils/src/main/java/com/google/apphosting/utils/config/WebModule.java [113:167]


  public boolean equals(Object obj) {
    if (this == obj) {
      return true;
    }
    if (obj == null) {
      return false;
    }
    if (getClass() != obj.getClass()) {
      return false;
    }
    WebModule other = (WebModule) obj;
    if (appEngineWebXml == null) {
      if (other.appEngineWebXml != null) {
        return false;
      }
    } else if (!appEngineWebXml.equals(other.appEngineWebXml)) {
      return false;
    }
    if (appEngineWebXmlFile == null) {
      if (other.appEngineWebXmlFile != null) {
        return false;
      }
    } else if (!appEngineWebXmlFile.equals(other.appEngineWebXmlFile)) {
      return false;
    }
    if (applicationDirectory == null) {
      if (other.applicationDirectory != null) {
        return false;
      }
    } else if (!applicationDirectory.equals(other.applicationDirectory)) {
      return false;
    }
    if (contextRoot == null) {
      if (other.contextRoot != null) {
        return false;
      }
    } else if (!contextRoot.equals(other.contextRoot)) {
      return false;
    }
    if (webXml == null) {
      if (other.webXml != null) {
        return false;
      }
    } else if (!webXml.equals(other.webXml)) {
      return false;
    }
    if (webXmlFile == null) {
      if (other.webXmlFile != null) {
        return false;
      }
    } else if (!webXmlFile.equals(other.webXmlFile)) {
      return false;
    }
    return true;
  }