Skip to content

GH-5204 fix: invalid Filter.Expression constructor usage in documentation#5243

Merged
ericbottard merged 1 commit intospring-projects:mainfrom
LoperLee:GH-5204
Jan 14, 2026
Merged

GH-5204 fix: invalid Filter.Expression constructor usage in documentation#5243
ericbottard merged 1 commit intospring-projects:mainfrom
LoperLee:GH-5204

Conversation

@LoperLee
Copy link
Contributor

Description

This PR corrects the invalid Filter.Expression constructor usage in the documentation.

The documentation incorrectly illustrated wrapping child expressions in Arrays.asList(). However, the actual Filter.Expression record constructor accepts individual Operand arguments for left and right (binary structure), not a List.

Changes

  • Removed the Arrays.asList() wrapper from the Filter.Expression constructor example.
  • Updated the example to use the correct positional arguments: new Filter.Expression(type, left, right).

Signed-off-by: JunSeop <mds3512@naver.com>
@ericbottard ericbottard merged commit 3e89332 into spring-projects:main Jan 14, 2026
1 check 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