activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [01/32] activemq-artemis git commit: Remove unnecessary casts
Date Tue, 08 Dec 2015 00:12:27 GMT
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);
       }
    }
 


Mime
View raw message