-
Notifications
You must be signed in to change notification settings - Fork 173
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
Issue 5256: Refactored MekHQ Unit's Gunners to be Set to ensure gunners are unique #5295
Issue 5256: Refactored MekHQ Unit's Gunners to be Set to ensure gunners are unique #5295
Conversation
Looks like we have some failing tests |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5295 +/- ##
=========================================
Coverage 10.48% 10.48%
- Complexity 6067 6070 +3
=========================================
Files 959 959
Lines 135515 135562 +47
Branches 19743 19750 +7
=========================================
+ Hits 14202 14207 +5
- Misses 119957 120002 +45
+ Partials 1356 1353 -3 ☔ View full report in Codecov by Sentry. |
Fixes #5256 |
List<Person> gunners = Collections.nCopies(gunnerCount, crewMember); | ||
|
||
Set<Person> gunners = new HashSet<>(); | ||
for(int i = 0; i < gunnerCount; i++){ |
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.
Let's pop a whitespace after for
…rs are unique
Fixes #5256