Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use equinox preferences APIs in RefreshManager class #497 #695

Conversation

lathapatil
Copy link
Contributor

Replacing deprecated Preferences API usage with modern Equinox Preferences API.

Partially fixes
#497

@github-actions
Copy link
Contributor

github-actions bot commented Sep 18, 2023

Test Results

       42 files  ±0         42 suites  ±0   53m 19s ⏱️ - 3m 2s
  3 778 tests ±0    3 774 ✔️  - 1    3 💤 ±0  1 +1 
11 337 runs  ±0  11 309 ✔️  - 1  27 💤 ±0  1 +1 

For more details on these failures, see this check.

Results for commit 2acca52. ± Comparison against base commit 229beea.

♻️ This comment has been updated with latest results.

@akurtakov akurtakov force-pushed the Issues/497_Use_Equinox_preferences_API branch from f5df33b to d269de5 Compare September 20, 2023 15:40
@HeikoKlare HeikoKlare force-pushed the Issues/497_Use_Equinox_preferences_API branch from 6928922 to a79e451 Compare October 2, 2023 06:57
Copy link
Contributor

@HeikoKlare HeikoKlare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the adaptation! The change looks good to me.
@lathapatil Could you address the minor comment concerning the copyright information update? And after that, is the PR ready to merge from your side?

@@ -12,9 +12,11 @@
* IBM - Initial API and implementation
* Christoph Läubrich - Issue #84 - RefreshManager access ResourcesPlugin.getWorkspace in the init phase
* - Issue #97 - RefreshManager.manageAutoRefresh calls ResourcesPlugin.getWorkspace before the Workspace is fully open
* Latha Patil(ETAS GmbH) - GitHub Issue #497- Get rid of deprecated org.eclipse.core.runtime.Preferences in platform code
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding the contribution information is optional. If you want to keep it, please also change the year in the first line from 2022 to 2023.
Nitpicky: I would prefer to format the copyright line consistent with the existing ones, i.e., only containing "Issue ..." instead of "GitHub Issue ...".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review . I will adopt the changes and provide for re-review

@lathapatil lathapatil marked this pull request as draft October 3, 2023 07:09
@lathapatil lathapatil force-pushed the Issues/497_Use_Equinox_preferences_API branch from 12b1f53 to 22bf85b Compare October 6, 2023 09:58
@lathapatil lathapatil marked this pull request as ready for review October 6, 2023 09:58
@lathapatil lathapatil requested a review from HeikoKlare October 6, 2023 09:59
@HeikoKlare
Copy link
Contributor

Looks good, thanks! One final thing: Could you please squash the two commits into a single one, @lathapatil?

…#497

Replacing deprecated Preferences API usage with modern Equinox
Preferences API.

Partially fixes
eclipse-platform#497
Updated copyright header as per review comments

Squash Commits
@lathapatil lathapatil force-pushed the Issues/497_Use_Equinox_preferences_API branch from 22bf85b to 2acca52 Compare October 9, 2023 08:23
@lathapatil
Copy link
Contributor Author

Looks good, thanks! One final thing: Could you please squash the two commits into a single one, @lathapatil?

Its done !

Copy link
Contributor

@HeikoKlare HeikoKlare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failing test is unrelated and already documented in #596.

@HeikoKlare HeikoKlare merged commit e64f742 into eclipse-platform:master Oct 9, 2023
12 of 14 checks passed
@lathapatil lathapatil deleted the Issues/497_Use_Equinox_preferences_API branch October 9, 2023 09:49
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