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

Revert "Issues 12447 (Standardized Sorting of UnitCategory) (#12722)" #12762

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

DanVanAtta
Copy link
Member

This reverts commit ab48e6b.

Fixes duplicate units in battle calculator.

cc: @frigoref

Notes to Reviewer

@DanVanAtta DanVanAtta merged commit e73fdec into master Jul 24, 2024
1 check passed
@DanVanAtta DanVanAtta deleted the revert-unit-sort branch July 24, 2024 17:02
frigoref added a commit to frigoref/triplea that referenced this pull request Jul 27, 2024
@frigoref frigoref mentioned this pull request Jul 27, 2024
frigoref added a commit that referenced this pull request Jul 27, 2024
* Reapply "Issues 12447 (Standardized Sorting of UnitCategory) (#12722)" (#12762)

This reverts commit e73fdec.

* Issue_12447_Part2 #1

PlayerUnitsPanel.java
- ensure uniqueness in returned list in method getAllUnitCategories
- reduce complexity by use of new method getProducibleUnitTypes
ProductionFrontier.java
- new method getProducibleUnitTypes
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.

1 participant