Skip to content

minor cleanups to SqmQueryGroup #10423

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

Merged
merged 2 commits into from
Jun 27, 2025
Merged

Conversation

gavinking
Copy link
Member

[Please describe here what your change is about]


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


@hibernate-github-bot
Copy link

Thanks for your pull request!

This pull request does not follow the contribution rules. Could you have a look?

❌ All commit messages should start with a JIRA issue key matching pattern HHH-\d+
    ↳ Offending commits: [da2ee40, 7cd5aa8]

› This message was automatically generated.

for ( SqmQueryPart<T> queryPart : this.queryParts ) {
queryParts.add( queryPart.copy( context ) );
else {
final List<SqmQueryPart<T>> queryParts = new ArrayList<>( this.queryParts.size() );

Check notice

Code scanning / CodeQL

Possible confusion of local and field Note

Potentially confusing name: method
copy
also refers to field
queryParts
(as this.queryParts).
@gavinking gavinking merged commit 754003d into hibernate:main Jun 27, 2025
24 of 26 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.

1 participant