@Override public boolean equals(final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final StatusUpdate that = (StatusUpdate) o; if (displayCoordinates != that.displayCoordinates) return false; if (inReplyToStatusId != that.inReplyToStatusId) return false; if (possiblySensitive != that.possiblySensitive) return false; if (location != null ? !location.equals(that.location) : that.location != null) return false; if (mediaBody != null ? !mediaBody.equals(that.mediaBody) : that.mediaBody != null) return false; if (mediaFile != null ? !mediaFile.equals(that.mediaFile) : that.mediaFile != null) return false; if (mediaName != null ? !mediaName.equals(that.mediaName) : that.mediaName != null) return false; if (placeId != null ? !placeId.equals(that.placeId) : that.placeId != null) return false; if (status != null ? !status.equals(that.status) : that.status != null) return false; return true; }