Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2018-03-09 19:35:24 -0500
committerMatthias Sohn2018-03-16 19:55:55 -0400
commitcc2adf9a8576000b32da32c5319185116fc9f56d (patch)
tree5eafb83b78eddff31480dded1198a5ba5935cd1e /org.eclipse.egit.github.core
parent17e2b92ea4cdff9e53d27f404b37609f2f4093fa (diff)
downloadegit-github-cc2adf9a8576000b32da32c5319185116fc9f56d.tar.gz
egit-github-cc2adf9a8576000b32da32c5319185116fc9f56d.tar.xz
egit-github-cc2adf9a8576000b32da32c5319185116fc9f56d.zip
Remove deprecated Gist#setUser and #getUser methods
Change-Id: I4b5cc5f5dc1fe3d8a5753081f20e1ea27acdc3f8 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/Gist.java22
1 files changed, 2 insertions, 20 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Gist.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Gist.java
index bf269948..f8e3a584 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Gist.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Gist.java
@@ -10,8 +10,6 @@
*******************************************************************************/
package org.eclipse.egit.github.core;
-import com.google.gson.annotations.SerializedName;
-
import java.io.Serializable;
import java.util.Date;
import java.util.List;
@@ -19,6 +17,8 @@ import java.util.Map;
import org.eclipse.egit.github.core.util.DateUtils;
+import com.google.gson.annotations.SerializedName;
+
/**
* GitHub gist model class.
*/
@@ -261,22 +261,4 @@ public class Gist implements Serializable {
this.owner = owner;
return this;
}
-
- /**
- * @return user
- */
- @Deprecated
- public User getUser() {
- return owner;
- }
-
- /**
- * @param user
- * @return this gist
- */
- @Deprecated
- public Gist setUser(User user) {
- this.owner = user;
- return this;
- }
}

Back to the top