Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Rebert2015-03-04 11:24:18 +0000
committerMatthias Sohn2015-03-04 13:30:56 +0000
commit5f30d19213813b4f7f95000ce1eee78f138e7f48 (patch)
tree8788e4ca13e12985bc486aac89adcd02ac33559f
parent18c3170deeaf8e565f8c2301ce905f7109059b8e (diff)
downloadegit-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>
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java4
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;

Back to the top