mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[plugins] Drop JpaBuddyMigration242
GitOrigin-RevId: a788ff3907885489a8562a603bff97b6294280dc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5937e75ada
commit
d81a17b2fa
@@ -15,7 +15,6 @@ import com.intellij.ide.startup.StartupActionScriptManager.ActionCommand;
|
||||
import com.intellij.ide.ui.laf.LookAndFeelThemeAdapterKt;
|
||||
import com.intellij.idea.AppMode;
|
||||
import com.intellij.openapi.application.impl.ApplicationInfoImpl;
|
||||
import com.intellij.openapi.application.migrations.JpaBuddyMigration242;
|
||||
import com.intellij.openapi.application.migrations.NotebooksMigration242;
|
||||
import com.intellij.openapi.application.migrations.PythonProMigration242;
|
||||
import com.intellij.openapi.application.migrations.SpaceMigration252;
|
||||
@@ -1225,7 +1224,6 @@ public final class ConfigImportHelper {
|
||||
// Note that migrations are not taken into account for IDE updates through Toolbox
|
||||
new PythonProMigration242().migratePlugins(options);
|
||||
new NotebooksMigration242().migratePlugins(options);
|
||||
new JpaBuddyMigration242().migratePlugins(options);
|
||||
new SpaceMigration252().migratePlugins(options);
|
||||
}
|
||||
|
||||
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
// 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.application.migrations
|
||||
|
||||
import com.intellij.ide.plugins.PluginManagerCore
|
||||
|
||||
private const val JPAB_PLUGIN_ID = "com.haulmont.jpab"
|
||||
private const val JPA_MODEL_PLUGIN_ID = "com.intellij.jpa.jpb.model"
|
||||
|
||||
internal class JpaBuddyMigration242 : PluginMigration() {
|
||||
override fun migratePlugins(descriptor: PluginMigrationDescriptor) {
|
||||
if (PluginManagerCore.buildNumber.productCode == "IC") {
|
||||
if (descriptor.currentPluginsToMigrate.contains(JPAB_PLUGIN_ID)) {
|
||||
descriptor.addPluginIfNeeded(JPA_MODEL_PLUGIN_ID)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user