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

Marked 'FM: Mercenaries (rev)' Unit Rating Method as Deprecated #4477

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

IllianiCBT
Copy link
Collaborator

The 'FM: Mercenaries (rev)' unit rating method was marked as deprecated for the purposes of user-facing campaign options. Additionally, the switch statement in the UnitRatingMethod.java file was simplified to a more modern syntax to enhance readability and maintainability.

This is the first step in us moving away from supporting FM:Mr with a mind to more broadly adopting CamOps systems.

…atement

'FM: Mercenaries (rev)' was flagged as deprecated. Additionally, the switch statement in the UnitRatingMethod.java file was simplified to a more modern syntax to enhance readability and maintainability.
@IllianiCBT IllianiCBT self-assigned this Jul 23, 2024
@IllianiCBT IllianiCBT changed the title Marked 'FM: Mercenaries (rev)'Unit Rating Method as Deprecated Marked 'FM: Mercenaries (rev)' Unit Rating Method as Deprecated Jul 23, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.31%. Comparing base (bd4954d) to head (4676eb2).
Report is 11 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #4477      +/-   ##
============================================
- Coverage     10.31%   10.31%   -0.01%     
  Complexity     5819     5819              
============================================
  Files           931      932       +1     
  Lines        128210   128228      +18     
  Branches      18870    18873       +3     
============================================
  Hits          13228    13228              
- Misses       113706   113724      +18     
  Partials       1276     1276              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@IllianiCBT IllianiCBT merged commit 3ad86c9 into MegaMek:master Jul 24, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants