mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
get rid of FeatureStatisticsBundleProviders
GitOrigin-RevId: ebdc2c81da0c819fad2422bfe0d2acf6abf5f555
This commit is contained in:
committed by
intellij-monorepo-bot
parent
17b2b5b6c1
commit
91d0b481d4
@@ -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) {
|
||||
|
||||
-32
@@ -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<FeatureStatisticsBundleProvider> EP_NAME = new ExtensionPointName<>("com.intellij.featureStatBundle");
|
||||
|
||||
ResourceBundle getBundle();
|
||||
}
|
||||
@@ -202,7 +202,6 @@
|
||||
|
||||
<extensionPoint name="editorNotificationProvider" area="IDEA_PROJECT" interface="com.intellij.ui.EditorNotifications$Provider" dynamic="true"/>
|
||||
|
||||
<extensionPoint name="featureStatBundle" interface="com.intellij.featureStatistics.FeatureStatisticsBundleProvider"/>
|
||||
<extensionPoint name="featureStatisticsBundle" beanClass="com.intellij.featureStatistics.FeatureStatisticsBundleEP"/>
|
||||
|
||||
<extensionPoint name="editorNavigation" interface="com.intellij.openapi.editor.EditorNavigationDelegate" dynamic="true"/>
|
||||
|
||||
Reference in New Issue
Block a user