diff --git a/Mage.Common/src/main/java/mage/remote/Connection.java b/Mage.Common/src/main/java/mage/remote/Connection.java index f3bf4296ee..ddc30666f7 100644 --- a/Mage.Common/src/main/java/mage/remote/Connection.java +++ b/Mage.Common/src/main/java/mage/remote/Connection.java @@ -40,7 +40,7 @@ public class Connection { // private boolean confirmEmptyManaPool; // private String flagName; // private UserSkipPrioritySteps userSkipPrioritySteps; - private static final String serialization = "?serializationtype=jboss"; + private static final String serialization = "?serializationtype=java"; private static final String transport = "bisocket"; private static final String threadpool = "onewayThreadPool=mage.remote.CustomThreadPool"; diff --git a/Mage.Common/src/test/java/mage/remote/ConnectionTest.java b/Mage.Common/src/test/java/mage/remote/ConnectionTest.java index 1e49ed9c37..4aeaa1eccf 100644 --- a/Mage.Common/src/test/java/mage/remote/ConnectionTest.java +++ b/Mage.Common/src/test/java/mage/remote/ConnectionTest.java @@ -72,7 +72,7 @@ public class ConnectionTest { void serialisation() { final String query = make(testeeBuilder).getQuery(); - assertThat(query).contains("serializationtype=jboss"); + assertThat(query).contains("serializationtype=java"); } @Test