Skip to content

feat: adding force view to commander gui, mouse clicks and more #6612

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

feat: adding force view to commander gui, mouse clicks on the board a…

5685cdb
Select commit
Loading
Failed to load commit list.
Draft

feat: adding force view to commander gui, mouse clicks and more #6612

feat: adding force view to commander gui, mouse clicks on the board a…
5685cdb
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Feb 25, 2025 in 6s

8 new alerts

New alerts in code changed by this pull request

  • 2 warnings
  • 6 notes

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 195 in megamek/src/megamek/client/ui/swing/CustomMekDialog.java

See this annotation in the file changed.

Code scanning / CodeQL

Dereferenced variable may be null Warning

Variable
clientgui
may be null at this access because of
this
null argument.

Check notice on line 203 in megamek/src/megamek/client/ui/swing/commander/StrategicViewMenu.java

See this annotation in the file changed.

Code scanning / CodeQL

Unread local variable Note

Variable 'Collection shdList' is never read.

Check notice on line 847 in megamek/src/megamek/client/ui/swing/commander/StrategicViewMenu.java

See this annotation in the file changed.

Code scanning / CodeQL

Missing catch of NumberFormatException Note

Potential uncaught 'java.lang.NumberFormatException'.

Check notice on line 850 in megamek/src/megamek/client/ui/swing/commander/StrategicViewMenu.java

See this annotation in the file changed.

Code scanning / CodeQL

Missing catch of NumberFormatException Note

Potential uncaught 'java.lang.NumberFormatException'.

Check notice on line 851 in megamek/src/megamek/client/ui/swing/commander/StrategicViewMenu.java

See this annotation in the file changed.

Code scanning / CodeQL

Missing catch of NumberFormatException Note

Potential uncaught 'java.lang.NumberFormatException'.

Check notice on line 854 in megamek/src/megamek/client/ui/swing/commander/StrategicViewMenu.java

See this annotation in the file changed.

Code scanning / CodeQL

Missing catch of NumberFormatException Note

Potential uncaught 'java.lang.NumberFormatException'.

Check notice on line 861 in megamek/src/megamek/client/ui/swing/commander/StrategicViewMenu.java

See this annotation in the file changed.

Code scanning / CodeQL

Missing catch of NumberFormatException Note

Potential uncaught 'java.lang.NumberFormatException'.

Check warning on line 133 in megamek/src/megamek/client/ui/swing/unitDisplay/SummaryPanel.java

See this annotation in the file changed.

Code scanning / CodeQL

Dereferenced variable may be null Warning

Variable
entity
may be null at this access as suggested by
this
null guard.