mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
IJPL-136 reduce usages of old serializer instance
GitOrigin-RevId: 7f889ba4a8a88e604fdcbe71c01182452116e882
This commit is contained in:
committed by
intellij-monorepo-bot
parent
88530f369b
commit
624a365c3d
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.openapi.extensions.impl
|
||||
|
||||
import com.intellij.openapi.components.ComponentManager
|
||||
@@ -55,6 +55,7 @@ internal open class XmlExtensionAdapter(implementationClassName: String,
|
||||
}
|
||||
val element = extensionElement
|
||||
if (element != null) {
|
||||
@Suppress("UsagesOfObsoleteApi")
|
||||
XmlSerializer.getBeanBinding(instance::class.java).deserializeInto(instance, element)
|
||||
extensionElement = null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user