-
Notifications
You must be signed in to change notification settings - Fork 396
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue 12823 (EditPanel#sortUnitsToRemove) illegal argument except…
…ion (#12829) * Getter for UnitAttachment boolean attributes is* can* UnitAttachment.java - set lombok @Getter annotation for boolean attributes of pattern is* and can* having simple getters, i.e., get-methods just returning the attribute value affected by renaming methods: -AbstractPlaceDelegate.java -AirBattle.java -AiUtils.java -BattleStepsTest.java -CasualtyUtil.java -DummyPlayerTest.java -EndTurnDelegate.java -FiringGroupSplitterAaTest.java -FiringGroupSplitterGeneralTest.java -GameParserTest.java -InitializationDelegate.java -MarkNoMovementLeftTest.java -Matches.java -MovePerformer.java -MoveValidator.java -NeighborGetter.java -OffensiveGeneralRetreatTest.java -ProCombatMoveAi.java -ProNonCombatMoveAi.java -ProPurchaseOption.java -ProPurchaseOptionMap.java -ProSortMoveOptionsUtils.java -ProTechAi.java -RemoveUnprotectedUnitsTest.java -ScrambleLogic.java -StrategicBombingRaidBattle.java -TabbedProductionPanel.java -TransportTracker.java -UnitAbilityFactory.java -UnitAttachment.java -UnitAttachmentTest.java -UnitComparator.java -UnitImageFactory.java -UnitInformation.java -UnitSeparator.java -UnitTypeComparator.java -UnitTypeComparatorTest.java -WeakAi.java * Fix issue 12823 EditPanel IllegalArgumentException EditPanel.java - avoid in method getRemovableUnitsOrder check on only one unit whether it is a transport capacity - make attributes transient - change selectedUnits.removeAll(units) to units.forEach(selectedUnits::remove) - extract method getScrollPane UnitAttachment.java - new method isTransportCapacity() replacing != -1 comparisons - comment typos
- Loading branch information
Showing
39 changed files
with
332 additions
and
362 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.