override fun equals()

in facebook-core/src/main/java/com/facebook/Profile.kt [133:148]


  override fun equals(other: Any?): Boolean {
    if (this === other) {
      return true
    }
    if (other !is Profile) {
      return false
    }

    return (id == null && other.id == null || id == other.id) &&
        (firstName == null && other.firstName == null || firstName == other.firstName) &&
        (middleName == null && other.middleName == null || middleName == other.middleName) &&
        (lastName == null && other.lastName == null || lastName == other.lastName) &&
        (name == null && other.name == null || name == other.name) &&
        (linkUri == null && other.linkUri == null || linkUri == other.linkUri) &&
        (pictureUri == null && other.pictureUri == null || pictureUri == other.pictureUri)
  }