Delay access to DirectBuffers until first use by theigl · Pull Request #932 · EsotericSoftware/kryo (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

theigl

merged 1 commit into

Dec 20, 2022

Conversation

@theigl

This PR moves initialization for constructor and methods for DirectBuffer into a static inner class. This has the effect that users who never use direct buffers, should not see any warnings.

See #885.

@theigl

@theigl theigl changed the title[DRAFT] Delay access to DirectBuffers until first use Delay access to DirectBuffers until first use

Dec 20, 2022

@theigl theigl deleted the lazy-init-direct-buffers branch

December 20, 2022 15:45

This was referenced

Dec 20, 2022

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

Labels

1 participant

@theigl