diff options
author | Chris Rebert | 2015-03-04 11:24:18 +0000 |
---|---|---|
committer | Matthias Sohn | 2015-03-04 13:30:56 +0000 |
commit | 5f30d19213813b4f7f95000ce1eee78f138e7f48 (patch) | |
tree | 8788e4ca13e12985bc486aac89adcd02ac33559f /org.eclipse.egit.github.core | |
parent | 18c3170deeaf8e565f8c2301ce905f7109059b8e (diff) | |
download | egit-github-5f30d19213813b4f7f95000ce1eee78f138e7f48.tar.gz egit-github-5f30d19213813b4f7f95000ce1eee78f138e7f48.tar.xz egit-github-5f30d19213813b4f7f95000ce1eee78f138e7f48.zip |
Mark Gravatar methods of User class as deprecated
GitHub has deprecated the gravatar_id attribute of User objects.
As of 2014-09-19, the GitHub API always returns an empty string for this
attribute.
Change-Id: Ice9f37cb5601a61471e679293b338f130a769c14
Refs: https://developer.github.com/changes/2014-09-05-removing-gravatar-id/
Signed-off-by: Chris Rebert <eclipse@rebertia.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.github.core')
-rw-r--r-- | org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java index 2fd774df..413273a1 100644 --- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java +++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java @@ -339,7 +339,9 @@ public class User implements Serializable { /** * @return gravatarId + * @deprecated */ + @Deprecated public String getGravatarId() { return gravatarId; } @@ -347,7 +349,9 @@ public class User implements Serializable { /** * @param gravatarId * @return this user + * @deprecated */ + @Deprecated public User setGravatarId(String gravatarId) { this.gravatarId = gravatarId; return this; |