From 6b4f2d951069909f9fed143b119b5b9a070d702a Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Sat, 10 Mar 2018 01:30:25 +0100 Subject: Remove deprecated FeatureTrackOperation constructor Use FeatureTrackOperation#FeatureTrackOperation(GitFlowRepository, Ref, int) instead. Change-Id: Iadd2828bcb6b014ab6b312dcbe54b427b2a3008e Signed-off-by: Matthias Sohn --- .../eclipse/egit/gitflow/op/FeatureTrackOperation.java | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'org.eclipse.egit.gitflow') diff --git a/org.eclipse.egit.gitflow/src/org/eclipse/egit/gitflow/op/FeatureTrackOperation.java b/org.eclipse.egit.gitflow/src/org/eclipse/egit/gitflow/op/FeatureTrackOperation.java index efccfe79b6..c9348d3ba4 100644 --- a/org.eclipse.egit.gitflow/src/org/eclipse/egit/gitflow/op/FeatureTrackOperation.java +++ b/org.eclipse.egit.gitflow/src/org/eclipse/egit/gitflow/op/FeatureTrackOperation.java @@ -8,6 +8,7 @@ *******************************************************************************/ package org.eclipse.egit.gitflow.op; +import static org.eclipse.egit.gitflow.Activator.error; import static org.eclipse.jgit.lib.Constants.DEFAULT_REMOTE_NAME; import static org.eclipse.jgit.lib.Constants.R_REMOTES; @@ -20,9 +21,6 @@ import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.SubMonitor; import org.eclipse.egit.core.op.BranchOperation; import org.eclipse.egit.core.op.CreateLocalBranchOperation; - -import static org.eclipse.egit.gitflow.Activator.error; - import org.eclipse.egit.gitflow.GitFlowRepository; import org.eclipse.egit.gitflow.internal.CoreText; import org.eclipse.jgit.api.CheckoutResult; @@ -45,20 +43,6 @@ public final class FeatureTrackOperation extends AbstractFeatureOperation { private int timeout; - /** - * Track given ref, referencing a feature branch. - * - * @param repository - * @param ref - * @deprecated Use - * {@link FeatureTrackOperation#FeatureTrackOperation(GitFlowRepository, Ref, int)} - * instead. - */ - @Deprecated - public FeatureTrackOperation(GitFlowRepository repository, Ref ref) { - this(repository, ref, 0); - } - /** * Track given ref, referencing a feature branch. * -- cgit v1.2.3