diff options
author | Matthias Sohn | 2018-03-10 00:36:48 +0000 |
---|---|---|
committer | Matthias Sohn | 2018-03-16 23:55:55 +0000 |
commit | cb53b5f66682410b2ba7e71222d4669f46c12cd7 (patch) | |
tree | 36ac027c5020ce5511aebe9083d12a9e135b8b9c /org.eclipse.egit.github.core | |
parent | cc2adf9a8576000b32da32c5319185116fc9f56d (diff) | |
download | egit-github-cb53b5f66682410b2ba7e71222d4669f46c12cd7.tar.gz egit-github-cb53b5f66682410b2ba7e71222d4669f46c12cd7.tar.xz egit-github-cb53b5f66682410b2ba7e71222d4669f46c12cd7.zip |
Remove deprecated Repository#getMasterBranch and #setMasterBranch
Change-Id: I18da9d2fe0968947bece4705d3dd9587c9ccbbc2
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/Repository.java | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Repository.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Repository.java index c84ee587..132838ce 100644 --- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Repository.java +++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Repository.java @@ -10,13 +10,13 @@ *****************************************************************************/ package org.eclipse.egit.github.core; -import com.google.gson.annotations.SerializedName; - import java.io.Serializable; import java.util.Date; import org.eclipse.egit.github.core.util.DateUtils; +import com.google.gson.annotations.SerializedName; + /** * Repository model class */ @@ -403,24 +403,6 @@ public class Repository implements IRepositoryIdProvider, Serializable { } /** - * @return masterBranch - */ - @Deprecated - public String getMasterBranch() { - return defaultBranch; - } - - /** - * @param masterBranch - * @return this repository - */ - @Deprecated - public Repository setMasterBranch(String masterBranch) { - this.defaultBranch = masterBranch; - return this; - } - - /** * @return mirrorUrl */ public String getMirrorUrl() { |