8000 Remove Redundant Logging in SkillType Updates by IllianiBird · Pull Request #6738 · MegaMek/mekhq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove Redundant Logging in SkillType Updates #6738

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

Merged
merged 1 commit into from
Apr 23, 2025

Conversation

IllianiBird
Copy link
Collaborator
  • Stopped skill type compatibility handler spamming the log whenever a save is loaded.

- Stopped skill type compatibility handler spamming the log whenever a save is loaded.
Copy link
codecov bot commented Apr 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.42%. Comparing base (202e114) to head (bbca53d).
Report is 15 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #6738   +/-   ##
=========================================
  Coverage     11.41%   11.42%           
- Complexity     6479     6481    +2     
=========================================
  Files          1095     1095           
  Lines        140802   140793    -9     
  Branches      21811    21811           
=========================================
+ Hits          16079    16080    +1     
+ Misses       123067   123055   -12     
- Partials       1656     1658    +2     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@HammerGS HammerGS requested a review from Copilot April 23, 2025 02:17
Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes redundant logging within the compatibilityHandler method of SkillType to prevent log spamming when a save is loaded.

  • Removed logger.info calls for sub type, first attribute, and second attribute updates.
  • Streamlined the compatibilityHandler method to update properties without excessive log output.

@HammerGS HammerGS merged commit 39c7c21 into MegaMek:master Apr 23, 2025
6 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.

2 participants
0