aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2018-03-09 19:36:48 -0500
committerMatthias Sohn2018-03-16 19:55:55 -0400
commitcb53b5f66682410b2ba7e71222d4669f46c12cd7 (patch)
tree36ac027c5020ce5511aebe9083d12a9e135b8b9c
parentcc2adf9a8576000b32da32c5319185116fc9f56d (diff)
downloadegit-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>
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Repository.java22
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() {