You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug?
Feature
What is the current behavior? Identifiable.getName() never returns null: either it returned the defined name or the id.
What is the expected behavior? name attribute should not be systematic: the API should be clearer about returning the real name or the id. New methods getOptionalName() and getNameOrId() are hence introduced.
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?
Feature
What is the current behavior?
Identifiable.getName()
never returnsnull
: either it returned the defined name or the id.What is the expected behavior?
name
attribute should not be systematic: the API should be clearer about returning the real name or theid
. New methodsgetOptionalName()
andgetNameOrId()
are hence introduced.Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, spectrum, etc)
cf. powsybl/powsybl-core#1243
The text was updated successfully, but these errors were encountered: