Skip to content

test: drop redundant MemorySegment cast on refPrefix(null)#68

Merged
dfa1 merged 1 commit into
mainfrom
test/drop-redundant-refprefix-cast
Jul 12, 2026
Merged

test: drop redundant MemorySegment cast on refPrefix(null)#68
dfa1 merged 1 commit into
mainfrom
test/drop-redundant-refprefix-cast

Conversation

@dfa1

@dfa1 dfa1 commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • refPrefix has a single MemorySegment overload, so the (MemorySegment) null cast in RefPrefixTest is unnecessary — plain null is unambiguous.

Test plan

  • ./mvnw -pl zstd test -Dtest=RefPrefixTest passes.

🤖 Generated with Claude Code

refPrefix has a single MemorySegment overload, so the cast is
unnecessary — plain null is unambiguous.
@dfa1 dfa1 merged commit 657e5c1 into main Jul 12, 2026
1 check passed
@dfa1 dfa1 deleted the test/drop-redundant-refprefix-cast branch July 12, 2026 07:04
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