From 4b0ea052b379bde9ae340ff7618555edb7b0d45d Mon Sep 17 00:00:00 2001 From: Konstantin Kolosovsky Date: Fri, 4 Nov 2016 16:18:27 +0300 Subject: [PATCH] vcs: Removed unused deprecated annotations Removed "Heavy", "CalledInBackground", "CalledInAwt", "CalledInAny" --- .../com/intellij/openapi/vcs/CalledInAny.java | 30 ---------------- .../com/intellij/openapi/vcs/CalledInAwt.java | 34 ------------------- .../openapi/vcs/CalledInBackground.java | 33 ------------------ .../src/com/intellij/openapi/vcs/Heavy.java | 27 --------------- 4 files changed, 124 deletions(-) delete mode 100644 platform/vcs-api/src/com/intellij/openapi/vcs/CalledInAny.java delete mode 100644 platform/vcs-api/src/com/intellij/openapi/vcs/CalledInAwt.java delete mode 100644 platform/vcs-api/src/com/intellij/openapi/vcs/CalledInBackground.java delete mode 100644 platform/vcs-api/src/com/intellij/openapi/vcs/Heavy.java diff --git a/platform/vcs-api/src/com/intellij/openapi/vcs/CalledInAny.java b/platform/vcs-api/src/com/intellij/openapi/vcs/CalledInAny.java deleted file mode 100644 index 18866912dd8c..000000000000 --- a/platform/vcs-api/src/com/intellij/openapi/vcs/CalledInAny.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright 2000-2010 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. - */ -package com.intellij.openapi.vcs; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/** - * @deprecated use {@link org.jetbrains.annotations.CalledInAny } - */ -@Deprecated -@Retention(RetentionPolicy.SOURCE) -@Target({ElementType.METHOD}) -public @interface CalledInAny { -} diff --git a/platform/vcs-api/src/com/intellij/openapi/vcs/CalledInAwt.java b/platform/vcs-api/src/com/intellij/openapi/vcs/CalledInAwt.java deleted file mode 100644 index 87f943507ded..000000000000 --- a/platform/vcs-api/src/com/intellij/openapi/vcs/CalledInAwt.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright 2000-2009 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. - */ - -package com.intellij.openapi.vcs; - -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -import java.lang.annotation.ElementType; - -/** - * Used to indicate that a method - * would be called in AWT thread - * - * @deprecated use {@link org.jetbrains.annotations.CalledInAwt } - */ -@Deprecated -@Retention(RetentionPolicy.SOURCE) -@Target({ElementType.METHOD}) -public @interface CalledInAwt { -} diff --git a/platform/vcs-api/src/com/intellij/openapi/vcs/CalledInBackground.java b/platform/vcs-api/src/com/intellij/openapi/vcs/CalledInBackground.java deleted file mode 100644 index 6dcef5e1fbcf..000000000000 --- a/platform/vcs-api/src/com/intellij/openapi/vcs/CalledInBackground.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright 2000-2009 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. - */ -package com.intellij.openapi.vcs; - -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -import java.lang.annotation.ElementType; - -/** - * Used to indicate that a method (for instance, of version control plugin provider interface) - * would be called in background thread - * - * @deprecated use {@link org.jetbrains.annotations.CalledInBackground } - */ -@Deprecated -@Retention(RetentionPolicy.SOURCE) -@Target({ElementType.METHOD}) -public @interface CalledInBackground { -} diff --git a/platform/vcs-api/src/com/intellij/openapi/vcs/Heavy.java b/platform/vcs-api/src/com/intellij/openapi/vcs/Heavy.java deleted file mode 100644 index 2ad229b236a6..000000000000 --- a/platform/vcs-api/src/com/intellij/openapi/vcs/Heavy.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2000-2010 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. - */ -package com.intellij.openapi.vcs; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Deprecated -@Retention(RetentionPolicy.SOURCE) -@Target({ElementType.METHOD, ElementType.CONSTRUCTOR}) -public @interface Heavy { -}