What is the expected behavior?substation.newExtension should return the extension and not the adder to avoid re-getting the extension with substation.getExtension(SubstationPosition.class)
What is the motivation / use case for changing the behavior?
API usability
Please tell us about your environment:
PowSyBl Version: ...
OS Version: ...
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, spectrum, etc)
Do you want to request a feature or report a bug? bug
What is the current behavior?
What is the expected behavior?
substation.newExtension
should return the extension and not the adder to avoid re-getting the extension withsubstation.getExtension(SubstationPosition.class)
What is the motivation / use case for changing the behavior? API usability
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, spectrum, etc)
(if a question doesn't apply, you can delete it)