powsybl-core icon indicating copy to clipboard operation
powsybl-core copied to clipboard

Observability extension: use optionals instead of nullables

Open sylvlecl opened this issue 2 years ago • 0 comments

  • Do you want to request a feature or report a bug?

Feature

  • What is the current behavior?

Quality objects in InjectionObservability and BranchObservability are nullable: we should probably use Optional<ObservabilityQuality> instead, to be consistent with the library guideline.

Note: if we plainly replace the current methods, that will be a breaking change.

sylvlecl avatar Jul 07 '22 08:07 sylvlecl