mage/Mage.Server/src/main/java/mage/server
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
..
challenge playertype, enum singleton 2017-04-02 22:09:20 +02:00
draft Removed some unused code. 2017-09-01 16:03:43 +02:00
exceptions Introducing Optionals 2017-01-14 21:52:40 +01:00
game Blocker and Critical level bugfixes throughout the project (#4648) 2018-03-22 08:13:13 -05:00
rating Add user rating using Glicko rating system (#1498) 2016-05-17 17:22:14 +03:00
record talk to interfaces rather than implementations 2017-07-16 11:08:09 +02:00
services Functional interfaces should be annotated as functional interfaces 2017-02-15 19:23:12 +03:00
tournament Minor fix for user handling. 2017-09-05 17:53:03 +02:00
util Blocker and Critical level bugfixes throughout the project (#4648) 2018-03-22 08:13:13 -05:00
AuthorizedUser.java Added chat mute and user (de)activation actions to the Mage server console. 2016-10-05 00:59:51 +02:00
AuthorizedUserRepository.java Big refactoring (server) 2017-01-09 19:47:03 +03:00
ChatManager.java * Added to all toUpperCase/toLowerCase calls the Locale.ENGLISH to prevent problems with some languages (e.g. Turkish). Removed some unused import statements. (#4634). 2018-03-18 18:18:54 +01:00
ChatSession.java Blocker and Critical level bugfixes throughout the project (#4648) 2018-03-22 08:13:13 -05:00
DisconnectReason.java * Some more changes to user disconnect handling. 2017-08-16 07:51:48 +02:00
ExtensionPackage.java Big refactoring (server) 2017-01-09 19:47:03 +03:00
ExtensionPackageLoader.java Blocker and Critical level bugfixes throughout the project (#4648) 2018-03-22 08:13:13 -05:00
GmailClient.java rewrote singleton to enum where applicable 2017-03-14 16:32:47 +01:00
MageServerImpl.java Some minot fixes /changes. 2017-10-03 17:06:46 +02:00
MailClient.java rewrote singleton to enum where applicable 2017-03-14 16:32:47 +01:00
MailgunClient.java rewrote singleton to enum where applicable 2017-03-14 16:32:47 +01:00
Main.java Some minor changes to server connect handling and logging. 2017-04-17 18:28:35 +02:00
Room.java rewrites to optionals 2017-03-19 19:48:32 +01:00
RoomImpl.java rewrote singleton to enum where applicable 2017-03-14 16:32:47 +01:00
Session.java Changed callbackException handling. 2018-02-03 10:49:57 +01:00
SessionManager.java Reverted changes on Session locking. 2018-01-28 23:25:16 +01:00
TableController.java * Added to all toUpperCase/toLowerCase calls the Locale.ENGLISH to prevent problems with some languages (e.g. Turkish). Removed some unused import statements. (#4634). 2018-03-18 18:18:54 +01:00
TableManager.java TableManager added lock handling. 2017-09-01 21:14:45 +02:00
User.java Fixed some exception problems. 2018-01-27 11:42:43 +01:00
UserManager.java Blocker and Critical level bugfixes throughout the project (#4648) 2018-03-22 08:13:13 -05:00