mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 11:50:54 +07:00
[platform] API cleanup: remove unused deprecated API NamedJDOMExternalizable (IJPL-156972)
GitOrigin-RevId: 60a233ca2304d8830228d3961a40e1f291e0afec
This commit is contained in:
committed by
intellij-monorepo-bot
parent
97b15632c2
commit
2a4136e03c
@@ -94,10 +94,7 @@ open class ApplicationStoreImpl(private val app: Application) : ComponentStoreWi
|
||||
class ApplicationStateStorageManager(pathMacroManager: PathMacroManager? = null, controller: SettingsController?)
|
||||
: StateStorageManagerImpl(rootTagName = "application", pathMacroManager?.createTrackingSubstitutor(), componentManager = null, controller)
|
||||
{
|
||||
override fun getOldStorageSpec(component: Any, componentName: String, operation: StateStorageOperation): String =
|
||||
@Suppress("DEPRECATION")
|
||||
if (component is com.intellij.openapi.util.NamedJDOMExternalizable) "${component.externalFileName}${PathManager.DEFAULT_EXT}"
|
||||
else StoragePathMacros.NON_ROAMABLE_FILE
|
||||
override fun getOldStorageSpec(component: Any, componentName: String, operation: StateStorageOperation): String = StoragePathMacros.NON_ROAMABLE_FILE
|
||||
|
||||
override val isUseXmlProlog: Boolean
|
||||
get() = false
|
||||
|
||||
@@ -775,9 +775,6 @@ f:com.intellij.openapi.util.MutualMap
|
||||
- put(java.lang.Object,java.lang.Object):V
|
||||
- remove(java.lang.Object):V
|
||||
- size():I
|
||||
com.intellij.openapi.util.NamedJDOMExternalizable
|
||||
- com.intellij.openapi.util.JDOMExternalizable
|
||||
- a:getExternalFileName():java.lang.String
|
||||
@:com.intellij.openapi.util.NlsContext
|
||||
- java.lang.annotation.Annotation
|
||||
- a:prefix():java.lang.String
|
||||
|
||||
@@ -1,30 +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.util;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
|
||||
/**
|
||||
* @deprecated use {@link com.intellij.openapi.components.PersistentStateComponent} instead and specify file name in
|
||||
* {@link com.intellij.openapi.components.State} annotation.
|
||||
*/
|
||||
@SuppressWarnings("DeprecatedIsStillUsed")
|
||||
@ApiStatus.ScheduledForRemoval
|
||||
@Deprecated
|
||||
public interface NamedJDOMExternalizable extends JDOMExternalizable {
|
||||
@NonNls String getExternalFileName();
|
||||
}
|
||||
Reference in New Issue
Block a user