Skip to content

fix some intellij inspections in druid-processing#13823

Merged
abhishekagarwal87 merged 3 commits intoapache:masterfrom
clintropolis:resolve-some-inspections
Feb 21, 2023
Merged

fix some intellij inspections in druid-processing#13823
abhishekagarwal87 merged 3 commits intoapache:masterfrom
clintropolis:resolve-some-inspections

Conversation

@clintropolis
Copy link
Copy Markdown
Member

Description

Working through the list of inspection failures as a follow-up to #13698.

This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.
  • a release note entry in the PR description.
  • added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
  • added or updated version, license, or notice information in licenses.yaml
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
  • added integration tests.
  • been tested in a test Druid cluster.

boolean hasTimeout,
long timeoutMillis,
int queryPriority,
@SuppressWarnings("unused") int queryPriority,

Check notice

Code scanning / CodeQL

Useless parameter

The parameter 'queryPriority' is never used.
Copy link
Copy Markdown
Contributor

@abhishekrb19 abhishekrb19 left a comment

Choose a reason for hiding this comment

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

On a quick scan this change-set looks good. The static checks are also succeeding, which is great 🎉

@abhishekagarwal87 abhishekagarwal87 merged commit 614205f into apache:master Feb 21, 2023
@clintropolis clintropolis deleted the resolve-some-inspections branch February 21, 2023 04:20
@clintropolis clintropolis added this to the 26.0 milestone Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants