Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Dynawo constants #395

Merged
merged 5 commits into from
Nov 8, 2024
Merged

Refactor Dynawo constants #395

merged 5 commits into from
Nov 8, 2024

Conversation

Lisrte
Copy link
Contributor

@Lisrte Lisrte commented Oct 11, 2024

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)

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

Refactor

What is the current behavior?

What is the new behavior (if this is a feature change)?
Merge the 2 DynawoSimulationConstants classes
Remove constants duplicate
Move DynawoSimulationParameters.ExportMode to commons

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)

Replace com.powsybl.dynawo.DynawoSimulationParameters.ExportMode with
com.powsybl.dynawo.commons.ExportMode

Other information:

Remove constants duplicate
Move DynawoSimulationParameters.ExportMode to commons

Signed-off-by: lisrte <[email protected]>
@Lisrte Lisrte added the Breaking Change API is broken label Oct 11, 2024
Signed-off-by: lisrte <[email protected]>
@Lisrte Lisrte requested a review from flo-dup October 14, 2024 07:45
Replace "/" in DynawoConstants paths with File.separator

Signed-off-by: lisrte <[email protected]>
Signed-off-by: lisrte <[email protected]>
@Lisrte Lisrte requested a review from flo-dup November 8, 2024 10:22
Copy link

sonarqubecloud bot commented Nov 8, 2024

@flo-dup flo-dup merged commit 73eae37 into main Nov 8, 2024
7 checks passed
@flo-dup flo-dup deleted the merge_constants_classes branch November 8, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking Change API is broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants