-
Notifications
You must be signed in to change notification settings - Fork 176
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
Added Basic Force Generator Role Functionality to Scenario Random Unit Generation #4418
Added Basic Force Generator Role Functionality to Scenario Random Unit Generation #4418
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4418 +/- ##
============================================
- Coverage 10.26% 10.24% -0.02%
+ Complexity 5809 5808 -1
============================================
Files 924 924
Lines 126223 126432 +209
Branches 18698 18769 +71
============================================
+ Hits 12952 12953 +1
- Misses 111996 112204 +208
Partials 1275 1275 ☔ View full report in Codecov by Sentry. |
Thanks for this. A quick scan shows the high points are all there, so it gets a stamp of approval here. |
factionCode, | ||
new ArrayList<Entity>(), | ||
new ArrayList<String>(), | ||
factionCode, new ArrayList<>(), new ArrayList<>(), |
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.
Minor stylistic nit: if arguments are expanded into a vertical list, each should be on a separate line so that the eye does not skip over them (as I did here, briefly thinking the new ArrayList<>()
args had gone missing).
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.
Ah, that's a 'My Bad'. I'll fix it in a sec :)
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.
LGTM!
All credit to SuperStucco. All I've done is duplicated their work to resolve git issues.
This PR should not be merged until it has been approved by @SuperStucco as the chance of errors creeping in while I transcribed their work is non-zero.