diff --git a/platform/platform-api/src/com/intellij/featureStatistics/FeatureStatisticsBundle.java b/platform/platform-api/src/com/intellij/featureStatistics/FeatureStatisticsBundle.java index 5cafa9def4d8..aaac54268f46 100644 --- a/platform/platform-api/src/com/intellij/featureStatistics/FeatureStatisticsBundle.java +++ b/platform/platform-api/src/com/intellij/featureStatistics/FeatureStatisticsBundle.java @@ -35,13 +35,6 @@ public class FeatureStatisticsBundle { if (providerBundle != null) { return providerBundle; } - final FeatureStatisticsBundleProvider[] providers = FeatureStatisticsBundleProvider.EP_NAME.getExtensions(); - for (FeatureStatisticsBundleProvider provider : providers) { - final ResourceBundle bundle = provider.getBundle(); - if (bundle.containsKey(key)) { - return bundle; - } - } ResourceBundle bundle = com.intellij.reference.SoftReference.dereference(ourBundle); if (bundle == null) { diff --git a/platform/platform-api/src/com/intellij/featureStatistics/FeatureStatisticsBundleProvider.java b/platform/platform-api/src/com/intellij/featureStatistics/FeatureStatisticsBundleProvider.java deleted file mode 100644 index cc72bc816276..000000000000 --- a/platform/platform-api/src/com/intellij/featureStatistics/FeatureStatisticsBundleProvider.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright 2000-2019 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.featureStatistics; - -import com.intellij.openapi.extensions.ExtensionPointName; - -import java.util.ResourceBundle; - -/** - * @author Konstantin Bulenkov - * @author Roman.Chernyatchik - * @deprecated use {@link FeatureStatisticsBundleEP} instead - */ -@Deprecated -public interface FeatureStatisticsBundleProvider { - ExtensionPointName EP_NAME = new ExtensionPointName<>("com.intellij.featureStatBundle"); - - ResourceBundle getBundle(); -} diff --git a/platform/platform-resources/src/META-INF/PlatformExtensionPoints.xml b/platform/platform-resources/src/META-INF/PlatformExtensionPoints.xml index f0576adac22e..cf0cadf54ed1 100644 --- a/platform/platform-resources/src/META-INF/PlatformExtensionPoints.xml +++ b/platform/platform-resources/src/META-INF/PlatformExtensionPoints.xml @@ -202,7 +202,6 @@ -