public boolean equals()

in nuget-common/src/jetbrains/buildServer/nuget/common/version/FrameworkName.java [39:50]


  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    FrameworkName that = (FrameworkName) o;

    if (!myIdentifier.equalsIgnoreCase(that.myIdentifier)) return false;
    if (myProfile != null ? !myProfile.equalsIgnoreCase(that.myProfile) : that.myProfile != null) return false;
    if (myVersion != null ? !myVersion.equals(that.myVersion) : that.myVersion != null) return false;

    return true;
  }