Skip to content

Remove redundant code#144

Merged
elharo merged 3 commits intomasterfrom
test
Apr 18, 2025
Merged

Remove redundant code#144
elharo merged 3 commits intomasterfrom
test

Conversation

@elharo
Copy link
Contributor

@elharo elharo commented Apr 18, 2025

No description provided.

@elharo elharo requested a review from slawekjaranowski April 18, 2025 11:14
@elharo elharo marked this pull request as ready for review April 18, 2025 11:14
@@ -208,7 +208,7 @@ private static String decodeString(ByteBuffer buf) {
// Explicit cast for compatibility with covariant return type on JDK 9's ByteBuffer
Copy link
Member

Choose a reason for hiding this comment

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

What about this comment ...?
Look like special cast is needed here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. If this doesn;t fail (and it doesn't) we're missing a test or the comment is no longer true. Hmm, I think that comment applies to line 210 which uses the return type rather than 211 which doesn't but let me double check.

Copy link
Contributor Author

@elharo elharo left a comment

Choose a reason for hiding this comment

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

OK, I think the right line is fixed now

@elharo elharo merged commit 71c0554 into master Apr 18, 2025
51 checks passed
@elharo elharo deleted the test branch April 18, 2025 21:07
@github-actions github-actions bot added this to the next-release milestone Apr 18, 2025
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