Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rjhancock
Copy link
Collaborator

Fixes the non-short circuit logic that could result in logic errors and possible NPEs

*/
private ScalingIconButton prepareButton(String iconName, String buttonName,
List<ScalingIconButton> bList, int width) {
private ScalingIconButton prepareButton(String iconName, String buttonName, List<ScalingIconButton> bList,

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'buttonName' is never used.
@rjhancock rjhancock merged commit f9f6479 into MegaMek:master Mar 29, 2025
4 checks passed
@rjhancock rjhancock deleted the short-circuit-logic branch March 29, 2025 13:10
@codecov
Copy link

codecov bot commented Mar 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (9460f2b) to head (144a147).
Report is 3 commits behind head on master.

Additional details and impacted files
@@      Coverage Diff       @@
##   master   #6785   +/-   ##
==============================
==============================

☔ 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.

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