mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup before use new kotlin-friendly xml deserializer
This commit is contained in:
@@ -27,7 +27,6 @@ import com.intellij.openapi.components.impl.ComponentManagerImpl
|
||||
import com.intellij.openapi.components.impl.stores.IComponentStore
|
||||
import com.intellij.openapi.components.impl.stores.StoreUtil
|
||||
import com.intellij.openapi.components.impl.stores.UnknownMacroNotification
|
||||
import com.intellij.openapi.components.impl.stores.deserializeState
|
||||
import com.intellij.openapi.diagnostic.Logger
|
||||
import com.intellij.openapi.diagnostic.debug
|
||||
import com.intellij.openapi.progress.ProcessCanceledException
|
||||
|
||||
@@ -39,7 +39,7 @@ abstract class StateStorageBase<T : Any> : StateStorage {
|
||||
}
|
||||
|
||||
open fun <S: Any> deserializeState(serializedState: Element?, stateClass: Class<S>, mergeInto: S?): S? {
|
||||
return com.intellij.openapi.components.impl.stores.deserializeState(serializedState, stateClass, mergeInto)
|
||||
return com.intellij.configurationStore.deserializeState(serializedState, stateClass, mergeInto)
|
||||
}
|
||||
|
||||
abstract fun getSerializedState(storageData: T, component: Any?, componentName: String, archive: Boolean = true): Element?
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.intellij.openapi.components.impl.stores
|
||||
package com.intellij.configurationStore
|
||||
|
||||
import com.intellij.openapi.diagnostic.Logger
|
||||
import com.intellij.openapi.util.JDOMExternalizable
|
||||
@@ -15,10 +15,10 @@
|
||||
*/
|
||||
package com.intellij.core;
|
||||
|
||||
import com.intellij.configurationStore.DefaultStateSerializerKt;
|
||||
import com.intellij.mock.MockProject;
|
||||
import com.intellij.openapi.components.ComponentManager;
|
||||
import com.intellij.openapi.components.PathMacroManager;
|
||||
import com.intellij.openapi.components.impl.stores.DefaultStateSerializerKt;
|
||||
import com.intellij.openapi.components.impl.stores.DirectoryStorageUtil;
|
||||
import com.intellij.openapi.components.impl.stores.FileStorageCoreUtil;
|
||||
import com.intellij.openapi.module.ModuleManager;
|
||||
|
||||
Reference in New Issue
Block a user