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

Remove usage of deprecated APIs #4646

Merged
merged 3 commits into from Apr 2, 2024
Merged

Remove usage of deprecated APIs #4646

merged 3 commits into from Apr 2, 2024

Conversation

saberduck
Copy link
Contributor

@saberduck saberduck commented Mar 28, 2024

Fixes #4641

@SonarLintSide(lifespan = MULTIPLE_ANALYSES)
@SonarLintSide(lifespan = INSTANCE)
Copy link
Contributor

Choose a reason for hiding this comment

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

Is INSTANCE the replacement for the deprecated MULTIPLE_ANALYSES?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, you can check the javadoc

Comment on lines -180 to +179
PROFILER.startDebug("Starting server");
LOG.debug("Starting server");
long start = System.currentTimeMillis();
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there no equivalent for Profiler in slf4j?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

unfortunately no, if really needed we can create something similar on our own

Copy link
Contributor

@ilia-kebets-sonarsource ilia-kebets-sonarsource left a comment

Choose a reason for hiding this comment

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

Some questions otherwise LGTM!

@saberduck saberduck merged commit d5f125b into master Apr 2, 2024
25 checks passed
@saberduck saberduck deleted the i4641 branch April 2, 2024 10:58
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.

Remove usage of deprecated logging APIs
3 participants