public boolean equals()

in runAs-agent/src/main/java/jetbrains/buildServer/runAs/agent/UserCredentials.java [64:77]


  public boolean equals(final Object o) {
    if (this == o) return true;
    if (!(o instanceof UserCredentials)) return false;

    final UserCredentials that = (UserCredentials)o;

    if (!myProfile.equals(that.myProfile)) return false;
    if (!getUser().equals(that.getUser())) return false;
    if (!getPassword().equals(that.getPassword())) return false;
    if (getWindowsIntegrityLevel() != that.getWindowsIntegrityLevel()) return false;
    if (getLoggingLevel() != that.getLoggingLevel()) return false;
    return getAdditionalArgs().equals(that.getAdditionalArgs());

  }