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

Weapon Handler Comment cleanup #6025

Merged
merged 5 commits into from
Sep 22, 2024
Merged

Conversation

SJuliez
Copy link
Member

@SJuliez SJuliez commented Sep 21, 2024

This is 99% comment cleanup in the weapon handler classes, removing those "non-javadoc"s, updating the copyrights, removing empty javadocs (I didnt bother filling in the constructor javadocs, as they mostly just call super). And maybe 3 minor and obvious code updates.

Copy link

codecov bot commented Sep 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 29.10%. Comparing base (db1a9a3) to head (b8ce280).
Report is 12 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6025      +/-   ##
============================================
- Coverage     29.10%   29.10%   -0.01%     
+ Complexity    13973    13972       -1     
============================================
  Files          2580     2580              
  Lines        267140   267143       +3     
  Branches      47709    47711       +2     
============================================
- Hits          77744    77743       -1     
- Misses       185499   185502       +3     
- Partials       3897     3898       +1     

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

Copy link
Member

@HammerGS HammerGS left a comment

Choose a reason for hiding this comment

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

Not sure about the one security warning.

@rjhancock
Copy link
Collaborator

If there is a variable in the parent class with the same name, they don't need to be redeclared and can cause issues

# Conflicts:
#	megamek/src/megamek/common/weapons/ACCaselessHandler.java
#	megamek/src/megamek/common/weapons/PrimitiveACWeaponHandler.java
#	megamek/src/megamek/common/weapons/PrototypeACWeaponHandler.java
@rjhancock rjhancock merged commit 629c004 into MegaMek:master Sep 22, 2024
6 checks passed
@SJuliez SJuliez deleted the equipment-clean branch October 15, 2024 19:31
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