Skip to content

IGNITE-26266: Mark IndexQuery#getCriteria with @Nullable#12329

Merged
timoninmaxim merged 2 commits into
apache:masterfrom
korot-7:ignite-26266
Sep 21, 2025
Merged

IGNITE-26266: Mark IndexQuery#getCriteria with @Nullable#12329
timoninmaxim merged 2 commits into
apache:masterfrom
korot-7:ignite-26266

Conversation

@korot-7
Copy link
Copy Markdown
Contributor

@korot-7 korot-7 commented Sep 9, 2025

Mark IndexQuery#getCriteria with @nullable to avoid warning and highlight warning to a user.

*
* @return List of criteria for this index query.
*/
@Nullable
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Move the annotation to the method line. See, how it is done for other methods, for example IndexQuery#getPartition.

@sonarqubecloud
Copy link
Copy Markdown

@timoninmaxim timoninmaxim merged commit a47cd02 into apache:master Sep 21, 2025
9 checks passed
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