Skip to content

Enhance root initialization and retrieval#632

Merged
fh-ms merged 7 commits intomainfrom
enhance-root-api
Apr 1, 2026
Merged

Enhance root initialization and retrieval#632
fh-ms merged 7 commits intomainfrom
enhance-root-api

Conversation

@fh-ms
Copy link
Copy Markdown
Contributor

@fh-ms fh-ms commented Apr 1, 2026

Summary of Changes

  • Added ensureRoot method in EmbeddedStorageManager to streamline root initialization logic.
  • Refactored root and setRoot methods in StorageManager to support generic typing.
  • Improved tests to use the new ensureRoot method for root initialization consistency.
  • Removed unnecessary type casts for storage.root() throughout the codebase.
  • Simplified code by removing redundant @SuppressWarnings annotations.
  • Added a null check for initialRootSupplier in the ensureRoot method.

@fh-ms fh-ms requested a review from zdenek-jonas April 1, 2026 11:35
@fh-ms fh-ms added the enhancement New feature or request label Apr 1, 2026
@fh-ms fh-ms merged commit ed19c09 into main Apr 1, 2026
14 checks passed
@fh-ms fh-ms deleted the enhance-root-api branch April 1, 2026 11:47
@fh-ms fh-ms added this to the 4.1.0 milestone Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants