From b51aa81fa10d7ff9278097632806920317c307ae Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Thu, 5 Apr 2018 17:40:01 +0300 Subject: [PATCH] git: cleanup: deprecate implementation of a deprecated interface It is still used in plugin.xml, otherwise plugins would break. --- plugins/git4idea/src/git4idea/GitPlatformFacade.java | 3 ++- plugins/git4idea/src/git4idea/GitPlatformFacadeImpl.java | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/git4idea/src/git4idea/GitPlatformFacade.java b/plugins/git4idea/src/git4idea/GitPlatformFacade.java index c11d19738712..931a6f8482e9 100644 --- a/plugins/git4idea/src/git4idea/GitPlatformFacade.java +++ b/plugins/git4idea/src/git4idea/GitPlatformFacade.java @@ -23,8 +23,9 @@ import com.intellij.openapi.vfs.VirtualFile; import org.jetbrains.annotations.NotNull; /** - * @deprecated To remove in IDEA 2017. Use direct instance or ServiceManager methods to access platform structures. + * @deprecated Use direct instance or ServiceManager methods to access platform structures. */ +@SuppressWarnings("DeprecatedIsStillUsed") @Deprecated public interface GitPlatformFacade { diff --git a/plugins/git4idea/src/git4idea/GitPlatformFacadeImpl.java b/plugins/git4idea/src/git4idea/GitPlatformFacadeImpl.java index 608dab12ecca..37c7f422f7aa 100644 --- a/plugins/git4idea/src/git4idea/GitPlatformFacadeImpl.java +++ b/plugins/git4idea/src/git4idea/GitPlatformFacadeImpl.java @@ -22,6 +22,8 @@ import com.intellij.openapi.vfs.VfsUtil; import com.intellij.openapi.vfs.VirtualFile; import org.jetbrains.annotations.NotNull; +@SuppressWarnings("DeprecatedIsStillUsed") +@Deprecated public class GitPlatformFacadeImpl implements GitPlatformFacade { @Override