-
Notifications
You must be signed in to change notification settings - Fork 291
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
feat: config interface extracted #6265
base: master
Are you sure you want to change the base?
Conversation
this(owner, name, FLOAT, defaultValue); | ||
} | ||
|
||
public Option(AbstractOptions owner, String name, Vector<String> defaultValue) { | ||
@SuppressWarnings("unused") | ||
public Option(IGameOptions owner, String name, Vector<String> defaultValue) { |
Check notice
Code scanning / CodeQL
Useless parameter Note
boolean advancedAMS = false; | ||
boolean advancedPD = false; | ||
boolean advancedAMS; | ||
boolean advancedPD; |
Check warning
Code scanning / CodeQL
Field masks field in super class Warning
advancedPD
fb116a8
to
0cbcfbd
Compare
0cbcfbd
to
b28bb1a
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6265 +/- ##
=========================================
Coverage ? 28.99%
Complexity ? 13982
=========================================
Files ? 2652
Lines ? 268284
Branches ? 47761
=========================================
Hits ? 77797
Misses ? 186605
Partials ? 3882 ☔ View full report in Codecov by Sentry. |
logger.error(ex, "Failed to start Server"); | ||
logger.error("Failed to start Server", ex); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please ignore that I did this a couple of times, I am used to log4j formatting
/** | ||
* Returns a count of all options in this object. | ||
* @return Option count. | ||
*/ | ||
public int count() { | ||
@Override | ||
public int count() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
javadoc extracted to the interface
Extracted a new GameOptions interface for weapons, entities, etc, necessary to isolate the options in the autoresolve
Related
MegaMek/megameklab#1665