powsybl-core
powsybl-core copied to clipboard
Equals method used for IIDM Java objects
-
Do you want to request a feature or report a bug? Neither, it is more a risk
-
What is the current behavior? The method
Objects.equals
is used to compare IIDM Java Objects (e.g.Connectable
cf.StaticVarCompensatorXml.java
). -
What is the expected behavior? We could simply use a
==
or!=
check. -
What is the motivation / use case for changing the behavior? The
equals
method can be overwritten, which could lead to issues. -
Please tell us about your environment:
- PowSyBl Version: 3.2.0-SNAPSHOT