From 839989d71fe899c17a30b49a1448aebf1619e86e Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Sat, 9 Mar 2019 19:43:16 +0300 Subject: [PATCH] git: fix the link to the preferred method in the deprecation message --- .../src/git4idea/branch/GitBranchUtil.java | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/plugins/git4idea/src/git4idea/branch/GitBranchUtil.java b/plugins/git4idea/src/git4idea/branch/GitBranchUtil.java index 9875cfb8941c..ea41e18ed691 100644 --- a/plugins/git4idea/src/git4idea/branch/GitBranchUtil.java +++ b/plugins/git4idea/src/git4idea/branch/GitBranchUtil.java @@ -1,18 +1,4 @@ -/* - * Copyright 2000-2014 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package git4idea.branch; import com.intellij.dvcs.DvcsUtil; @@ -32,7 +18,6 @@ import git4idea.commands.*; import git4idea.config.GitConfigUtil; import git4idea.config.GitVcsSettings; import git4idea.repo.GitBranchTrackInfo; -import git4idea.repo.GitConfig; import git4idea.repo.GitRemote; import git4idea.repo.GitRepository; import git4idea.ui.branch.GitMultiRootBranchConfig; @@ -165,7 +150,7 @@ public class GitBranchUtil { /** * Get the tracking branch for the given branch, or null if the given branch doesn't track anything. - * @deprecated Use {@link GitConfig#getBranchTrackInfos()} + * @deprecated Use {@link GitRepository#getBranchTrackInfo(String)} */ @Deprecated @Nullable