Repository: activemq-artemis Updated Branches: refs/heads/master b0007c453 -> 8abf9cfaa
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/3b5ee6c7/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/persistence/XmlImportExportTest.java ---------------------------------------------------------------------- diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/persistence/XmlImportExportTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/persistence/XmlImportExportTest.java index f2e321b..9f6af78 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/persistence/XmlImportExportTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/persistence/XmlImportExportTest.java @@ -87,7 +87,7 @@ public class XmlImportExportTest extends ActiveMQTestBase { if (forceLongs) { JournalStorageManager manager = (JournalStorageManager) server.getStorageManager(); BatchingIDGenerator idGenerator = (BatchingIDGenerator) manager.getIDGenerator(); - idGenerator.forceNextID(((long) Integer.MAX_VALUE) + 1L); + idGenerator.forceNextID((Integer.MAX_VALUE) + 1L); } }