Skip to content

Replace explicit type conversion with instanceof pattern variable in luke module#15837

Merged
dweiss merged 4 commits into
apache:mainfrom
gaobinlong:switch
Apr 1, 2026
Merged

Replace explicit type conversion with instanceof pattern variable in luke module#15837
dweiss merged 4 commits into
apache:mainfrom
gaobinlong:switch

Conversation

@gaobinlong
Copy link
Copy Markdown
Contributor

Description

Use the modern instanceof pattern variable instead of explicit type conversions in the luke module, this change improves the code readability and reduces potential ClassCastException risks.

No change log needed, I think.

…luke module

Signed-off-by: Binlong Gao <gbinlong@amazon.com>
…racters forbidden in file name

Signed-off-by: Binlong Gao <gbinlong@amazon.com>
Signed-off-by: Binlong Gao <gbinlong@amazon.com>
Signed-off-by: Binlong Gao <gbinlong@amazon.com>
@dweiss dweiss added this to the 11.0.0 milestone Apr 1, 2026
@dweiss dweiss merged commit 30c6deb into apache:main Apr 1, 2026
12 of 13 checks passed
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.

2 participants