Skip to content

Comments

Remove temp file creation for tests#249

Merged
oschwald merged 1 commit intomaxmind:mainfrom
marschall:remove-temp-file
May 9, 2025
Merged

Remove temp file creation for tests#249
oschwald merged 1 commit intomaxmind:mainfrom
marschall:remove-temp-file

Conversation

@marschall
Copy link
Contributor

Remove the creation of temp files in tests. Decoder depends on ByteBuffer so we can use an on-heap buffer. The comment talks about Java 6 compatibility but the code depends on Java 11.

Copy link
Member

@oschwald oschwald left a comment

Choose a reason for hiding this comment

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

Thanks! This is a good cleanup. I don't know the details on the Java 6 comment, but I do know the Decoder API has also changed since the comment was written 12 years ago.

I had one comment.

@marschall marschall force-pushed the remove-temp-file branch from 985af67 to c4634bc Compare May 9, 2025 08:04
@oschwald oschwald merged commit 5534936 into maxmind:main May 9, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants