From 0904500bc9813ede67191d8058f376f51e5da5be Mon Sep 17 00:00:00 2001 From: Sergey Malenkov Date: Tue, 2 Dec 2014 19:14:08 +0300 Subject: [PATCH] Add missed IDs to XML files --- .../intellij/openapi/options/ex/ConfigurableWrapper.java | 6 +++--- platform/platform-resources/src/META-INF/LangExtensions.xml | 4 ++-- .../platform-resources/src/META-INF/PlatformExtensions.xml | 4 ++-- .../platform-resources/src/META-INF/PlatformLangPlugin.xml | 2 +- platform/platform-resources/src/META-INF/XmlPlugin.xml | 2 +- platform/platform-resources/src/META-INF/xdebugger.xml | 2 +- platform/remote-servers/impl/src/META-INF/RemoteServers.xml | 2 +- plugins/IntelliLang/src/META-INF/plugin.xml | 2 +- plugins/copyright/src/META-INF/plugin.xml | 2 +- plugins/javaFX/src/META-INF/common-javaFX-plugin.xml | 2 +- plugins/terminal/resources/META-INF/terminal.xml | 2 +- python/src/META-INF/python-core.xml | 4 ++-- resources/src/idea/RichPlatformPlugin.xml | 2 +- 13 files changed, 18 insertions(+), 18 deletions(-) diff --git a/platform/platform-impl/src/com/intellij/openapi/options/ex/ConfigurableWrapper.java b/platform/platform-impl/src/com/intellij/openapi/options/ex/ConfigurableWrapper.java index 4a7a7b97220c..a70fc39ae6a3 100644 --- a/platform/platform-impl/src/com/intellij/openapi/options/ex/ConfigurableWrapper.java +++ b/platform/platform-impl/src/com/intellij/openapi/options/ex/ConfigurableWrapper.java @@ -189,9 +189,9 @@ public class ConfigurableWrapper implements SearchableConfigurable { if (myEp.id != null) { return myEp.id; } - UnnamedConfigurable configurable = getConfigurable(); - if (configurable instanceof SearchableConfigurable) { - return ((SearchableConfigurable)configurable).getId(); + SearchableConfigurable configurable = cast(SearchableConfigurable.class, this); + if (configurable != null) { + return configurable.getId(); } return myEp.instanceClass != null ? myEp.instanceClass diff --git a/platform/platform-resources/src/META-INF/LangExtensions.xml b/platform/platform-resources/src/META-INF/LangExtensions.xml index 4b1953ef0532..7f2040841797 100644 --- a/platform/platform-resources/src/META-INF/LangExtensions.xml +++ b/platform/platform-resources/src/META-INF/LangExtensions.xml @@ -351,7 +351,7 @@ - + @@ -735,7 +735,7 @@ - + diff --git a/platform/platform-resources/src/META-INF/PlatformExtensions.xml b/platform/platform-resources/src/META-INF/PlatformExtensions.xml index 2102f8e7cac5..ed3a4e0f58b7 100644 --- a/platform/platform-resources/src/META-INF/PlatformExtensions.xml +++ b/platform/platform-resources/src/META-INF/PlatformExtensions.xml @@ -229,14 +229,14 @@ key="title.customizations" bundle="messages.IdeBundle"/> - + - + diff --git a/platform/platform-resources/src/META-INF/PlatformLangPlugin.xml b/platform/platform-resources/src/META-INF/PlatformLangPlugin.xml index cd920827630a..90a196ff0a44 100644 --- a/platform/platform-resources/src/META-INF/PlatformLangPlugin.xml +++ b/platform/platform-resources/src/META-INF/PlatformLangPlugin.xml @@ -78,7 +78,7 @@ - + diff --git a/platform/platform-resources/src/META-INF/XmlPlugin.xml b/platform/platform-resources/src/META-INF/XmlPlugin.xml index 4b6a7da2a248..cca1d7962e37 100644 --- a/platform/platform-resources/src/META-INF/XmlPlugin.xml +++ b/platform/platform-resources/src/META-INF/XmlPlugin.xml @@ -190,7 +190,7 @@ - + diff --git a/platform/platform-resources/src/META-INF/xdebugger.xml b/platform/platform-resources/src/META-INF/xdebugger.xml index ad6ab1b2ae1e..00f30a2bec4d 100644 --- a/platform/platform-resources/src/META-INF/xdebugger.xml +++ b/platform/platform-resources/src/META-INF/xdebugger.xml @@ -31,7 +31,7 @@ serviceImplementation="com.intellij.xdebugger.impl.XDebuggerHistoryManager"/> + id="project.propDebugger" provider="com.intellij.xdebugger.impl.settings.DebuggerConfigurableProvider"/> diff --git a/platform/remote-servers/impl/src/META-INF/RemoteServers.xml b/platform/remote-servers/impl/src/META-INF/RemoteServers.xml index eae970f46594..7e1e88062cdd 100644 --- a/platform/remote-servers/impl/src/META-INF/RemoteServers.xml +++ b/platform/remote-servers/impl/src/META-INF/RemoteServers.xml @@ -17,7 +17,7 @@ serviceImplementation="com.intellij.remoteServer.agent.impl.RemoteAgentManagerImpl"/> - + diff --git a/plugins/IntelliLang/src/META-INF/plugin.xml b/plugins/IntelliLang/src/META-INF/plugin.xml index 4caafeba1815..7c756c2a5f47 100644 --- a/plugins/IntelliLang/src/META-INF/plugin.xml +++ b/plugins/IntelliLang/src/META-INF/plugin.xml @@ -44,7 +44,7 @@ - + diff --git a/plugins/copyright/src/META-INF/plugin.xml b/plugins/copyright/src/META-INF/plugin.xml index 594c28e20966..21efac8fd83c 100644 --- a/plugins/copyright/src/META-INF/plugin.xml +++ b/plugins/copyright/src/META-INF/plugin.xml @@ -11,7 +11,7 @@ com.intellij.modules.java - + - + diff --git a/plugins/terminal/resources/META-INF/terminal.xml b/plugins/terminal/resources/META-INF/terminal.xml index b41877f9db87..c91a17d76f91 100644 --- a/plugins/terminal/resources/META-INF/terminal.xml +++ b/plugins/terminal/resources/META-INF/terminal.xml @@ -3,7 +3,7 @@ - + diff --git a/python/src/META-INF/python-core.xml b/python/src/META-INF/python-core.xml index 395c968e5882..8aa4326bb8cf 100644 --- a/python/src/META-INF/python-core.xml +++ b/python/src/META-INF/python-core.xml @@ -465,10 +465,10 @@ - + - + diff --git a/resources/src/idea/RichPlatformPlugin.xml b/resources/src/idea/RichPlatformPlugin.xml index 9292be7b54e5..aa89a2794b97 100644 --- a/resources/src/idea/RichPlatformPlugin.xml +++ b/resources/src/idea/RichPlatformPlugin.xml @@ -230,7 +230,7 @@ - +