Skip to content

Fix a compilation error with Java 21 in SIPHeaderList#91

Open
cushon wants to merge 1 commit intousnistgov:masterfrom
cushon:i86
Open

Fix a compilation error with Java 21 in SIPHeaderList#91
cushon wants to merge 1 commit intousnistgov:masterfrom
cushon:i86

Conversation

@cushon
Copy link
Copy Markdown

@cushon cushon commented Nov 6, 2024

This updates the return type of getFirst and getLast, and returns the removed value from removeFirst and removeLast, for compatibility with the versions of those methods added to SequencedCollection in JDK 21.

Fixes #86

This updates the return type of getFirst and getLast, and returns the
removed value from removeFirst and removeLast, for compatibility with
the versions of those methods added to SequencedCollection in JDK 21.

Fixes usnistgov#86
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.

Compilation error with Java 21

1 participant