Skip to content

Replace Scala Option with Java Optional #400

@kaklakariada

Description

@kaklakariada

Review follow-up from PR #394 for issue #393.

The Java production code still exposes or uses Scala Option in places such as StorageProperties. That keeps Scala interop visible in the Java implementation.

Proposed direction:

  • Replace Scala Option with java.util.Optional in production APIs where possible.
  • Keep conversions only at boundaries that still interact with Scala dependencies or tests.
  • Update callers after the API change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactoringCode improvement without behavior change
    No fields configured for Refactoring.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions