Skip to content

Conversation

wsutina
Copy link
Contributor

@wsutina wsutina commented Mar 26, 2025

Description

Based on the report from, https://github.com/cashapp/hermit-ij-plugin/actions/runs/13000725549/job/36258641212#step:4:163

Theres are Deprecated API Usages that need to be removed

  1. projectOpened(Project) – Method Override
  2. PerformInBackgroundOption

Changes

  1. Replace deprecated ProjectManagerListener.OpenProject with ProjectActivity as per doc

  2. Replace ProjectManagerListener.projectClosing with Disposable as per doc

  3. Remove deprecated PerformInBackgroundOption

    • Utilizes default Task.Backgroundable behavior which already uses ALWAYS_BACKGROUND

Testing

  • Verified project initialization still works correctly
  • Confirmed proper cleanup on project close
  • Tested background task execution behavior
  • The deprecate warning should be gone

@wsutina wsutina merged commit ccee6a5 into main Mar 28, 2025
10 checks passed
@wsutina wsutina deleted the swipawiwat/remove-deprecated-api branch March 28, 2025 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants