Skip to content

Conversation

@flo-dup
Copy link
Collaborator

@flo-dup flo-dup commented Mar 10, 2025

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • A PR or issue has been opened in all impacted repositories (if any)

Does this PR already have an issue describing the problem?
No

What kind of change does this PR introduce?
Remove deprecated method and class

What is the current behavior?
Class Equipments.java has a single method which is deprecated

What is the new behavior (if this is a feature change)?
Class Equipments.java deleted

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

If yes, please check if the following requirements are fulfilled

  • The Breaking Change or Deprecated label has been added
  • The migration steps are described in the following section

What changes might users need to make in their application due to this PR? (migration steps)
Starting from this release, the Equipments class has been removed from iidm API. If you were using getConnectionInfoInBusBreakerView(Terminal t), use the following code instead:

connected = t.getBusBreakerView().getBus();
bus = Optional.ofNullable(t.getBusBreakerView().getBus()).orElse(t.getBusBreakerView().getConnectableBus());

@sonarqubecloud
Copy link

@olperr1 olperr1 marked this pull request as draft March 10, 2025 16:13
@olperr1 olperr1 moved this from TODO to Approved in Release 06/2025 Mar 10, 2025
@olperr1 olperr1 marked this pull request as ready for review May 15, 2025 14:37
@sonarqubecloud
Copy link

@olperr1 olperr1 merged commit ef5e6fc into main May 30, 2025
8 checks passed
@olperr1 olperr1 deleted the remove_deprecated_equipments_class branch May 30, 2025 07:33
@github-project-automation github-project-automation bot moved this from Approved to Done in Release 06/2025 May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants