Skip to content

Refactor ReceptorGridSettings into an enum#330

Merged
Hilbrand merged 2 commits intoaerius:mainfrom
Hilbrand:refactor-rgs
Apr 22, 2025
Merged

Refactor ReceptorGridSettings into an enum#330
Hilbrand merged 2 commits intoaerius:mainfrom
Hilbrand:refactor-rgs

Conversation

@Hilbrand
Copy link
Member

Since the values of ReceptorGridSettings don't change they can be hard-coded. Breaking change: Changes RecetorSettingsGrid from a class into a enum.

Since the values of ReceptorGridSettings don't change they can be hard-coded.
Fixed unit tests, due to wrong coordinates in example ReceptorGridSettings (another reason to use a enum with the values in one place).
…main/geo/ReceptorGridSettings.java

Co-authored-by: Serhat <SerhatG@users.noreply.github.com>
Copy link
Member

@BertScholten BertScholten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Hilbrand Hilbrand merged commit 6a15b13 into aerius:main Apr 22, 2025
1 check passed
@Hilbrand Hilbrand deleted the refactor-rgs branch April 22, 2025 07:08
JornC added a commit to JornC/IMAER-java that referenced this pull request Apr 24, 2025
JornC added a commit to JornC/IMAER-java that referenced this pull request Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants