Skip to content

Commit

Permalink
remove email from SocialPerson, can't get it in simple way
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkrasov committed Jun 25, 2014
1 parent fde1c77 commit da3f3c7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ public void onViewCreated(View view, Bundle savedInstanceState) {
builder.append("Position: ");
builder.append(socialPerson.position);
builder.append('\n');
builder.append("Email: ");
builder.append(socialPerson.email);
builder.append('\n');
builder.append("Nickname: ");
builder.append(socialPerson.nickname);
builder.append('\n');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public SocialPerson[] newArray(int size) {
public String avatarURL;

public String profileURL; // url to users profile, can be generated for twitter, facebook, but need to get via api from LinkedIn
public String email;
public String nickname;

public SocialPerson() {
Expand All @@ -37,7 +36,6 @@ private SocialPerson(Parcel in) {
position = in.readString();
avatarURL = in.readString();
profileURL = in.readString();
email = in.readString();
nickname = in.readString();
}

Expand All @@ -54,7 +52,6 @@ public void writeToParcel(Parcel dest, int flags) {
dest.writeString(position);
dest.writeString(avatarURL);
dest.writeString(profileURL);
dest.writeString(email);
dest.writeString(nickname);
}

Expand All @@ -68,7 +65,6 @@ public boolean equals(Object o) {
if (avatarURL != null ? !avatarURL.equals(that.avatarURL) : that.avatarURL != null)
return false;
if (company != null ? !company.equals(that.company) : that.company != null) return false;
if (email != null ? !email.equals(that.email) : that.email != null) return false;
if (id != null ? !id.equals(that.id) : that.id != null) return false;
if (name != null ? !name.equals(that.name) : that.name != null) return false;
if (nickname != null ? !nickname.equals(that.nickname) : that.nickname != null)
Expand All @@ -89,7 +85,6 @@ public int hashCode() {
result = 31 * result + (position != null ? position.hashCode() : 0);
result = 31 * result + (avatarURL != null ? avatarURL.hashCode() : 0);
result = 31 * result + (profileURL != null ? profileURL.hashCode() : 0);
result = 31 * result + (email != null ? email.hashCode() : 0);
result = 31 * result + (nickname != null ? nickname.hashCode() : 0);
return result;
}
Expand All @@ -103,7 +98,6 @@ public String toString() {
", position='" + position + '\'' +
", avatarURL='" + avatarURL + '\'' +
", profileURL='" + profileURL + '\'' +
", email='" + email + '\'' +
", nickname='" + nickname + '\'' +
'}';
}
Expand Down

0 comments on commit da3f3c7

Please sign in to comment.