foul-magics/Mage.Server.Plugins/Mage.Player.AI.MA/src/mage/player/ai
ArcadeMode 5ac975c52e Blocker and Critical level bugfixes throughout the project (#4648)
* fixed https://sonarcloud.io/project/issues?id=org.xmage%3Amage-root&issues=AWIlv32RgrzAwlaaQ7rP&open=AWIlv32RgrzAwlaaQ7rP

* ensure closing of scanner if it was opened

* Refactored method in EmpyrialArchAngel to not always return same value.

* Refactored method in FalkenrathAristocrat to not always return same value.

* Refactored method in GilderBairn to not always return the same value.

* fixed left open resources, ensured quiet closing of the streams

* Refactored method in IceCave to not always return same value.

* Refactored method in KjeldoranRoyalGuard to not always return same value.

* Refactored method in LegionsInitiative to not always return same value.

* Refactored method in NaturesWill to not always return same value.

* added quiet closing method in new streamutils class, used to clean up the connectdialog

* Fix small typo

* added quiet closing to saveobjectutil

* closed resources in savegame method of gamecontroller

* properly close resources in loadGame method of GameReplay class

* further proper resource closing in ServerMessagesUtil

* fixed unclosed resources in copy method in mage framework Copier

* closed unclosed resources in copyCompressed method in Copier

* ensure closing of filewriter in manasymbols

* ensure proper closing of Stream in arcane UI

* ensure closing of datagram socket in arcane Util

* ensure resource closing in deckimport from clipboard

* ensure closing of plugin classloader

* ensured closing of zipinputstream resource

* ensure closing of fileoutputstream in ScryfallSymbolsSource

* ensure closing resources after finishing/canceling download of pictures

* remove commented code

* move locks to try block to ensure unlocking along all execution paths

* remove dangerous instance of double-checked locking

* removed dangerous instance of double checked locking in settingsmanager

* Removed dangerous instance of double-checked locking in ThemePluginImpl

* close resource which did not happen certainly

* close another stream

* ensure closing of inputstream
2018-03-22 08:13:13 -05:00
..
ma Trove of Temptation working for Human. 2017-09-15 17:51:54 +02:00
util * C17 Enchantment Curses - Fixed a bug that could create game errors (index out of bounds). 2017-08-17 21:36:55 +02:00
Attackers2.java Few lambda's and removed explicit type from creating lists and hashmaps 2017-02-28 13:46:57 +03:00
ComputerPlayer6.java Blocker and Critical level bugfixes throughout the project (#4648) 2018-03-22 08:13:13 -05:00
ComputerPlayer7.java Some minor changes. 2018-03-17 23:40:36 +01:00
Config2.java Made utility classes final to explicitly forbid it's inheritance 2017-02-27 17:03:38 +03:00
GameStateEvaluator2.java - Cleanup of AI classes. 2018-01-19 16:37:09 -06:00
SimulatedAction2.java list.size > 0 changed to !list.isEmpty 2017-02-06 14:32:51 +03:00
SimulatedPlayer2.java Equals should be compared with == but not equals() 2017-03-22 14:50:50 +03:00
SimulationNode2.java * Some fixes/chnages to AI player. Needs probably some more testing. 2015-07-12 19:51:04 +02:00
SimulationWorker2.java always use log4j 2015-11-28 21:11:25 -08:00