From 568f3755d374e77356499ba20c091edbcfc79fc0 Mon Sep 17 00:00:00 2001 From: Julia Beliaeva Date: Sat, 23 Mar 2024 15:36:44 +0100 Subject: [PATCH] [vcs-log] cleanup: optimize imports GitOrigin-RevId: 7a79d343bbccbf14faf08afed4e0d117b2fbcfcf --- .../git4idea/index/actions/GitEnableStagingAreaAction.kt | 6 ------ plugins/git4idea/src/git4idea/stash/GitStashUtils.kt | 1 - 2 files changed, 7 deletions(-) diff --git a/plugins/git4idea/src/git4idea/index/actions/GitEnableStagingAreaAction.kt b/plugins/git4idea/src/git4idea/index/actions/GitEnableStagingAreaAction.kt index 24835acacb9f..be6efd3e6716 100644 --- a/plugins/git4idea/src/git4idea/index/actions/GitEnableStagingAreaAction.kt +++ b/plugins/git4idea/src/git4idea/index/actions/GitEnableStagingAreaAction.kt @@ -3,18 +3,12 @@ package git4idea.index.actions import com.intellij.openapi.actionSystem.ActionUpdateThread import com.intellij.openapi.actionSystem.AnActionEvent -import com.intellij.openapi.actionSystem.ex.TooltipDescriptionProvider -import com.intellij.openapi.actionSystem.ex.TooltipLinkProvider -import com.intellij.openapi.help.HelpManager import com.intellij.openapi.project.DumbAwareToggleAction import com.intellij.openapi.vcs.ProjectLevelVcsManager import git4idea.GitVcs import git4idea.config.GitVcsApplicationSettings -import git4idea.i18n.GitBundle import git4idea.index.canEnableStagingArea import git4idea.index.enableStagingArea -import git4idea.index.ui.GitStagePanel -import javax.swing.JComponent abstract class GitToggleStagingAreaAction(private val enable: Boolean) : DumbAwareToggleAction() { override fun update(e: AnActionEvent) { diff --git a/plugins/git4idea/src/git4idea/stash/GitStashUtils.kt b/plugins/git4idea/src/git4idea/stash/GitStashUtils.kt index 94ff54900d91..f9c45d468a79 100644 --- a/plugins/git4idea/src/git4idea/stash/GitStashUtils.kt +++ b/plugins/git4idea/src/git4idea/stash/GitStashUtils.kt @@ -4,7 +4,6 @@ package git4idea.stash import com.intellij.dvcs.DvcsUtil -import com.intellij.history.ActivityId import com.intellij.notification.NotificationAction import com.intellij.notification.NotificationType import com.intellij.openapi.diagnostic.Logger