activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/4] activemq-artemis git commit: Spelling fixes
Date Thu, 09 Jul 2015 14:41:16 GMT
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/clientcrash/ClientExitTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/clientcrash/ClientExitTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/clientcrash/ClientExitTest.java
index a4f9fa9..cc49797 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/clientcrash/ClientExitTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/clientcrash/ClientExitTest.java
@@ -29,7 +29,7 @@ import org.junit.Before;
 import org.junit.Test;
 
 /**
- * A test that makes sure that a ActiveMQ Artemis client gracefully exists after the last
session is
+ * A test that makes sure that an ActiveMQ Artemis client gracefully exists after the last
session is
  * closed. Test for http://jira.jboss.org/jira/browse/JBMESSAGING-417.
  *
  * This is not technically a crash test, but it uses the same type of topology as the crash
tests

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/distribution/SymmetricClusterTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/distribution/SymmetricClusterTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/distribution/SymmetricClusterTest.java
index 17e8a86..0838877 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/distribution/SymmetricClusterTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/distribution/SymmetricClusterTest.java
@@ -1791,7 +1791,7 @@ public class SymmetricClusterTest extends ClusterTestBase
 
    @Test
    /**
-    * This test verifies that an string exclude filter '!jms.eu.uk' results in bindings not
being created for this
+    * This test verifies that a string exclude filter '!jms.eu.uk' results in bindings not
being created for this
     * address for nodes in a cluster.  But ensures that other addresses are matched and bindings
created.
     */
    public void testClusterAddressDoesNotCreatesBindingsForStringExcludesAddressFilters()
throws Exception

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/AsynchronousFailoverTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/AsynchronousFailoverTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/AsynchronousFailoverTest.java
index 99e7355..b0ee92f 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/AsynchronousFailoverTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/failover/AsynchronousFailoverTest.java
@@ -352,7 +352,7 @@ public class AsynchronousFailoverTest extends FailoverTestBase
             {
                if (counterGap)
                {
-                  Assert.fail("got a another counter gap at " + count + ": " + counts);
+                  Assert.fail("got another counter gap at " + count + ": " + counts);
                }
                else
                {

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/ActiveMQConnectionFactoryTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/ActiveMQConnectionFactoryTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/ActiveMQConnectionFactoryTest.java
index 58ffa6d..bafa19c 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/ActiveMQConnectionFactoryTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/ActiveMQConnectionFactoryTest.java
@@ -48,7 +48,7 @@ import org.apache.activemq.artemis.tests.util.RandomUtil;
 
 /**
  *
- * A ActiveMQConnectionFactoryTest
+ * ActiveMQConnectionFactoryTest
  */
 public class ActiveMQConnectionFactoryTest extends ActiveMQTestBase
 {

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/SimpleJNDIClientTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/SimpleJNDIClientTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/SimpleJNDIClientTest.java
index 4354234..d5f45eb 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/SimpleJNDIClientTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/SimpleJNDIClientTest.java
@@ -54,7 +54,7 @@ import org.junit.Test;
 
 /**
  *
- * A ActiveMQConnectionFactoryTest
+ * ActiveMQConnectionFactoryTest
  */
 public class SimpleJNDIClientTest extends ActiveMQTestBase
 {

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/connection/ExceptionListenerTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/connection/ExceptionListenerTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/connection/ExceptionListenerTest.java
index e8058d8..45e4011 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/connection/ExceptionListenerTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/connection/ExceptionListenerTest.java
@@ -43,7 +43,7 @@ import java.util.concurrent.TimeUnit;
 
 /**
  *
- * A ExceptionListenerTest
+ * ExceptionListenerTest
  */
 public class ExceptionListenerTest extends ActiveMQTestBase
 {

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/jms2client/NonExistentQueueTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/jms2client/NonExistentQueueTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/jms2client/NonExistentQueueTest.java
index 9cca7b3..a8afa8c 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/jms2client/NonExistentQueueTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/jms2client/NonExistentQueueTest.java
@@ -56,7 +56,7 @@ public class NonExistentQueueTest extends JMSTestBase
 
 
    @Test
-   public void sendToNonExistantDestination() throws Exception
+   public void sendToNonExistentDestination() throws Exception
    {
       Destination destination = ActiveMQJMSClient.createTopic("DoesNotExist");
       TransportConfiguration transportConfiguration = new TransportConfiguration(InVMConnectorFactory.class.getName());
@@ -69,7 +69,7 @@ public class NonExistentQueueTest extends JMSTestBase
       {
          MessageProducer messageProducer = session.createProducer(null);
          messageProducer.send(destination, session.createMessage());
-         Assert.fail("Succeeded in sending message to a non-existant destination using JMS
1 API!");
+         Assert.fail("Succeeded in sending message to a non-existent destination using JMS
1 API!");
       }
       catch (JMSException e)
       { // Expected }
@@ -83,7 +83,7 @@ public class NonExistentQueueTest extends JMSTestBase
       try
       {
          jmsProducer.send(destination, context.createMessage());
-         Assert.fail("Succeeded in sending message to a non-existant destination using JMS
2 API!");
+         Assert.fail("Succeeded in sending message to a non-existent destination using JMS
2 API!");
       }
       catch (JMSRuntimeException e)
       { // Expected }

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/JMSConsumer11Test.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/JMSConsumer11Test.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/JMSConsumer11Test.java
index 07b4911..4550fcc 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/JMSConsumer11Test.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/JMSConsumer11Test.java
@@ -90,14 +90,14 @@ public class JMSConsumer11Test extends BasicOpenWireTest
       System.out.println("received2: " + message2);
       assertNotNull(message2);
 
-      System.out.println("commitning sessions !! " + session.getClass().getName());
+      System.out.println("committing sessions !! " + session.getClass().getName());
       session.commit();
-      System.out.println("commited session, now 2");
+      System.out.println("committed session, now 2");
       session2.commit();
 
-      System.out.println("all commited");
+      System.out.println("all committed");
       Message m = consumer.receiveNoWait();
-      System.out.println("recieved 3: " + m);
+      System.out.println("received 3: " + m);
       assertNull(m);
 
       try

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/ProducerFlowControlSendFailTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/ProducerFlowControlSendFailTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/ProducerFlowControlSendFailTest.java
index 2b131c5..c9042d1 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/ProducerFlowControlSendFailTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/ProducerFlowControlSendFailTest.java
@@ -69,13 +69,13 @@ public class ProducerFlowControlSendFailTest extends ProducerFlowControlTest
    }
 
    @Override
-   public void test2ndPubisherWithStandardConnectionThatIsBlocked() throws Exception
+   public void test2ndPublisherWithStandardConnectionThatIsBlocked() throws Exception
    {
       // with sendFailIfNoSpace set, there is no blocking of the connection
    }
 
    @Override
-   public void testAsyncPubisherRecoverAfterBlock() throws Exception
+   public void testAsyncPublisherRecoverAfterBlock() throws Exception
    {
       // sendFail means no flowControllwindow as there is no producer ack, just
       // an exception
@@ -83,7 +83,7 @@ public class ProducerFlowControlSendFailTest extends ProducerFlowControlTest
 
    @Override
    @Test
-   public void testPubisherRecoverAfterBlock() throws Exception
+   public void testPublisherRecoverAfterBlock() throws Exception
    {
       ActiveMQConnectionFactory factory = (ActiveMQConnectionFactory) getConnectionFactory();
       // with sendFail, there must be no flowControllwindow
@@ -145,7 +145,7 @@ public class ProducerFlowControlSendFailTest extends ProducerFlowControlTest
    }
 
    @Test
-   public void testPubisherRecoverAfterBlockWithSyncSend() throws Exception
+   public void testPublisherRecoverAfterBlockWithSyncSend() throws Exception
    {
       ActiveMQConnectionFactory factory = (ActiveMQConnectionFactory) getConnectionFactory();
       factory.setExceptionListener(null);

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/ProducerFlowControlTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/ProducerFlowControlTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/ProducerFlowControlTest.java
index a30cf20..e658a1d 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/ProducerFlowControlTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/ProducerFlowControlTest.java
@@ -52,7 +52,7 @@ public class ProducerFlowControlTest extends BasicOpenWireTest
    private Thread asyncThread = null;
 
    @Test
-   public void test2ndPubisherWithProducerWindowSendConnectionThatIsBlocked() throws Exception
+   public void test2ndPublisherWithProducerWindowSendConnectionThatIsBlocked() throws Exception
    {
       factory.setProducerWindowSize(1024 * 64);
       flowControlConnection = (ActiveMQConnection) factory.createConnection();
@@ -85,7 +85,7 @@ public class ProducerFlowControlTest extends BasicOpenWireTest
    }
 
    @Test
-   public void testPubisherRecoverAfterBlock() throws Exception
+   public void testPublisherRecoverAfterBlock() throws Exception
    {
       flowControlConnection = (ActiveMQConnection) factory.createConnection();
       flowControlConnection.start();
@@ -139,7 +139,7 @@ public class ProducerFlowControlTest extends BasicOpenWireTest
    }
 
    @Test
-   public void testAsyncPubisherRecoverAfterBlock() throws Exception
+   public void testAsyncPublisherRecoverAfterBlock() throws Exception
    {
       factory.setProducerWindowSize(1024 * 5);
       factory.setUseAsyncSend(true);
@@ -195,7 +195,7 @@ public class ProducerFlowControlTest extends BasicOpenWireTest
    }
 
    @Test
-   public void test2ndPubisherWithSyncSendConnectionThatIsBlocked() throws Exception
+   public void test2ndPublisherWithSyncSendConnectionThatIsBlocked() throws Exception
    {
       factory.setAlwaysSyncSend(true);
       flowControlConnection = (ActiveMQConnection) factory.createConnection();
@@ -255,7 +255,7 @@ public class ProducerFlowControlTest extends BasicOpenWireTest
    }
 
    @Test
-   public void test2ndPubisherWithStandardConnectionThatIsBlocked() throws Exception
+   public void test2ndPublisherWithStandardConnectionThatIsBlocked() throws Exception
    {
       flowControlConnection = (ActiveMQConnection) factory.createConnection();
       flowControlConnection.start();

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/TimeStampTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/TimeStampTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/TimeStampTest.java
index 01561be..8daa6f4 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/TimeStampTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/amq/TimeStampTest.java
@@ -79,7 +79,7 @@ public class TimeStampTest extends BasicOpenWireTest
 
       // assert message timestamp is unchanged
       assertEquals(
-            "JMS Message Timestamp of recieved message should be the same as the sent message\n
       ",
+            "JMS Message Timestamp of received message should be the same as the sent message\n
       ",
             sentMessage.getJMSTimestamp(), receivedMessage.getJMSTimestamp());
 
       // Clean up

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/paging/PagingWithFailoverAndCountersTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/paging/PagingWithFailoverAndCountersTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/paging/PagingWithFailoverAndCountersTest.java
index ff9ae40..13ea5bc 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/paging/PagingWithFailoverAndCountersTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/paging/PagingWithFailoverAndCountersTest.java
@@ -238,7 +238,7 @@ public class PagingWithFailoverAndCountersTest extends ActiveMQTestBase
                      currentMsg = msg.getLongProperty("count");
                      if (currentMsg < lastCommit)
                      {
-                        failed("Message recieved in duplicate out of order, LastCommit =
" + lastCommit + ", currentMsg = " + currentMsg);
+                        failed("Message received in duplicate out of order, LastCommit =
" + lastCommit + ", currentMsg = " + currentMsg);
                      }
                      msg.acknowledge();
                      if (txSize > 0 && msgcount > 0 && (msgcount %
txSize == 0))

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/proton/ProtonTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/proton/ProtonTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/proton/ProtonTest.java
index e73f935..2111baf 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/proton/ProtonTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/proton/ProtonTest.java
@@ -278,7 +278,7 @@ public class ProtonTest extends ActiveMQTestBase
 
       // There is a bug on the qpid client library currently, we can expect having to interrupt
the thread on browsers.
       // but we can't have it on 10 iterations... something must be broken if that's the
case
-      Assert.assertTrue("Test had to interrupt on all ocasions.. this is beyond the expected
for the test", success);
+      Assert.assertTrue("Test had to interrupt on all occasions.. this is beyond the expected
for the test", success);
    }
 
    @Test
@@ -886,7 +886,7 @@ public class ProtonTest extends ActiveMQTestBase
 
 
    @Test
-   public void testUsingPlainAMQPSenderWithNonExistantQueue() throws Exception
+   public void testUsingPlainAMQPSenderWithNonExistentQueue() throws Exception
    {
       if (this.protocol != 0 && protocol != 3)
       {
@@ -938,7 +938,7 @@ public class ProtonTest extends ActiveMQTestBase
 
 
    @Test
-   public void testUsingPlainAMQPReceiverWithNonExistantQueue() throws Exception
+   public void testUsingPlainAMQPReceiverWithNonExistentQueue() throws Exception
    {
       if (this.protocol != 0 && protocol != 3)
       {

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/StompTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/StompTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/StompTest.java
index 541e815..64a63cb 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/StompTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/StompTest.java
@@ -154,19 +154,19 @@ public class StompTest extends StompTestBase
    @Test
    public void testSendMessageToNonExistentQueue() throws Exception
    {
-      String nonExistantQueue = RandomUtil.randomString();
+      String nonExistentQueue = RandomUtil.randomString();
       String frame = "CONNECT\n" + "login: brianm\n" + "passcode: wombats\n\n" + Stomp.NULL;
       sendFrame(frame);
 
       frame = receiveFrame(10000);
       Assert.assertTrue(frame.startsWith("CONNECTED"));
 
-      frame = "SEND\n" + "destination:" + getQueuePrefix() + nonExistantQueue + "\n\n" +
"Hello World" + Stomp.NULL;
+      frame = "SEND\n" + "destination:" + getQueuePrefix() + nonExistentQueue + "\n\n" +
"Hello World" + Stomp.NULL;
 
       sendFrame(frame);
       receiveFrame(1000);
 
-      MessageConsumer consumer = session.createConsumer(ActiveMQJMSClient.createQueue(nonExistantQueue));
+      MessageConsumer consumer = session.createConsumer(ActiveMQJMSClient.createQueue(nonExistentQueue));
       TextMessage message = (TextMessage) consumer.receive(1000);
       Assert.assertNotNull(message);
       Assert.assertEquals("Hello World", message.getText());
@@ -180,9 +180,9 @@ public class StompTest extends StompTestBase
       Assert.assertTrue(Math.abs(tnow - tmsg) < 1500);
 
       // closing the consumer here should trigger auto-deletion
-      assertNotNull(server.getActiveMQServer().getPostOffice().getBinding(new SimpleString(ResourceNames.JMS_QUEUE
+ nonExistantQueue)));
+      assertNotNull(server.getActiveMQServer().getPostOffice().getBinding(new SimpleString(ResourceNames.JMS_QUEUE
+ nonExistentQueue)));
       consumer.close();
-      assertNull(server.getActiveMQServer().getPostOffice().getBinding(new SimpleString(ResourceNames.JMS_QUEUE
+ nonExistantQueue)));
+      assertNull(server.getActiveMQServer().getPostOffice().getBinding(new SimpleString(ResourceNames.JMS_QUEUE
+ nonExistentQueue)));
    }
 
    /*
@@ -1133,9 +1133,9 @@ public class StompTest extends StompTestBase
    }
 
    @Test
-   public void testSubscribeToNonExistantQueue() throws Exception
+   public void testSubscribeToNonExistentQueue() throws Exception
    {
-      String nonExistantQueue = RandomUtil.randomString();
+      String nonExistentQueue = RandomUtil.randomString();
 
       String frame = "CONNECT\n" + "login: brianm\n" + "passcode: wombats\n\n" + Stomp.NULL;
       sendFrame(frame);
@@ -1145,7 +1145,7 @@ public class StompTest extends StompTestBase
 
       frame = "SUBSCRIBE\n" + "destination:" +
          getQueuePrefix() +
-         nonExistantQueue +
+         nonExistentQueue +
          "\n" +
          "receipt: 12\n" +
          "\n\n" +
@@ -1155,18 +1155,18 @@ public class StompTest extends StompTestBase
       frame = receiveFrame(10000);
       Assert.assertTrue(frame.startsWith("RECEIPT"));
 
-      sendMessage(getName(), ActiveMQJMSClient.createQueue(nonExistantQueue));
+      sendMessage(getName(), ActiveMQJMSClient.createQueue(nonExistentQueue));
 
       frame = receiveFrame(10000);
       Assert.assertTrue(frame.startsWith("MESSAGE"));
       Assert.assertTrue(frame.indexOf("destination:") > 0);
       Assert.assertTrue(frame.indexOf(getName()) > 0);
 
-      assertNotNull(server.getActiveMQServer().getPostOffice().getBinding(new SimpleString(ResourceNames.JMS_QUEUE
+ nonExistantQueue)));
+      assertNotNull(server.getActiveMQServer().getPostOffice().getBinding(new SimpleString(ResourceNames.JMS_QUEUE
+ nonExistentQueue)));
 
       frame = "UNSUBSCRIBE\n" + "destination:" +
          getQueuePrefix() +
-         nonExistantQueue +
+         nonExistentQueue +
          "\n" +
          "receipt: 1234\n" +
          "\n\n" +
@@ -1176,9 +1176,9 @@ public class StompTest extends StompTestBase
       frame = receiveFrame(10000);
       Assert.assertTrue(frame.startsWith("RECEIPT"));
 
-      assertNull(server.getActiveMQServer().getPostOffice().getBinding(new SimpleString(ResourceNames.JMS_QUEUE
+ nonExistantQueue)));
+      assertNull(server.getActiveMQServer().getPostOffice().getBinding(new SimpleString(ResourceNames.JMS_QUEUE
+ nonExistentQueue)));
 
-      sendMessage(getName(), ActiveMQJMSClient.createQueue(nonExistantQueue));
+      sendMessage(getName(), ActiveMQJMSClient.createQueue(nonExistentQueue));
 
       frame = receiveFrame(1000);
       log.info("Received frame: " + frame);

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/vertx/ActiveMQVertxUnitTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/vertx/ActiveMQVertxUnitTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/vertx/ActiveMQVertxUnitTest.java
index 9970242..d5c94a5 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/vertx/ActiveMQVertxUnitTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/vertx/ActiveMQVertxUnitTest.java
@@ -282,7 +282,7 @@ public class ActiveMQVertxUnitTest extends ActiveMQTestBase
       Float recvFloat = msg.getBodyBuffer().readFloat();
       assertEquals(aFloat, recvFloat);
 
-      //send a Integer
+      //send an Integer
       Integer aInt = new Integer(1234);
       vertx.eventBus().send(incomingVertxAddress1, aInt);
       msg = receiveFromQueue(incomingQueue1);
@@ -456,7 +456,7 @@ public class ActiveMQVertxUnitTest extends ActiveMQTestBase
 
       handler.checkFloatMessageReceived(aFloat);
 
-      //send a Integer
+      //send an Integer
       Integer aInt = new Integer(1234);
       vertx.eventBus().send(incomingVertxAddress2, aInt);
 
@@ -597,7 +597,7 @@ public class ActiveMQVertxUnitTest extends ActiveMQTestBase
       handler1.checkFloatMessageReceived(aFloat);
       handler2.checkFloatMessageReceived(aFloat);
 
-      //send a Integer
+      //send an Integer
       Integer aInt = new Integer(1234);
       vertx.eventBus().send(incomingVertxAddress3, aInt);
 

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/ConnectionTest.java
----------------------------------------------------------------------
diff --git a/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/ConnectionTest.java
b/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/ConnectionTest.java
index b9894c9..1a3e48f 100644
--- a/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/ConnectionTest.java
+++ b/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/ConnectionTest.java
@@ -116,7 +116,7 @@ public class ConnectionTest extends JMSTestCase
          // we startthe connection
          connection.start();
 
-         // an attempt to set the client ID now should throw a IllegalStateException
+         // an attempt to set the client ID now should throw an IllegalStateException
          connection.setClientID("testSetClientID_2");
          ProxyAssertSupport.fail("Should throw a javax.jms.IllegalStateException");
       }

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/message/JMSExpirationHeaderTest.java
----------------------------------------------------------------------
diff --git a/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/message/JMSExpirationHeaderTest.java
b/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/message/JMSExpirationHeaderTest.java
index 1156e8f..273f2eb 100644
--- a/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/message/JMSExpirationHeaderTest.java
+++ b/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/message/JMSExpirationHeaderTest.java
@@ -281,7 +281,7 @@ public class JMSExpirationHeaderTest extends MessageHeaderTestBase
             }
             catch (Throwable t)
             {
-               log.trace("receive() exits with an throwable", t);
+               log.trace("receive() exits with a throwable", t);
                ProxyAssertSupport.fail();
             }
             finally

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/message/MessageHeaderTestBase.java
----------------------------------------------------------------------
diff --git a/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/message/MessageHeaderTestBase.java
b/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/message/MessageHeaderTestBase.java
index 179a7b5..5ce2527 100644
--- a/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/message/MessageHeaderTestBase.java
+++ b/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/message/MessageHeaderTestBase.java
@@ -223,7 +223,7 @@ public abstract class MessageHeaderTestBase extends ActiveMQServerTestCase
          }
          catch (JMSException e)
          {
-            // not a int
+            // not an int
          }
 
          if (found)

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/message/ObjectMessageDeliveryTest.java
----------------------------------------------------------------------
diff --git a/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/message/ObjectMessageDeliveryTest.java
b/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/message/ObjectMessageDeliveryTest.java
index eda6b7f..9cb40de 100644
--- a/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/message/ObjectMessageDeliveryTest.java
+++ b/tests/jms-tests/src/test/java/org/apache/activemq/artemis/jms/tests/message/ObjectMessageDeliveryTest.java
@@ -32,7 +32,7 @@ import org.apache.activemq.artemis.jms.tests.util.ProxyAssertSupport;
 
 /**
  *
- * A ObjectMessageDeliveryTest
+ * ObjectMessageDeliveryTest
  */
 public class ObjectMessageDeliveryTest extends ActiveMQServerTestCase
 {

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/joram-tests/src/test/java/org/apache/activemq/artemis/jms/SpawnedJMSServer.java
----------------------------------------------------------------------
diff --git a/tests/joram-tests/src/test/java/org/apache/activemq/artemis/jms/SpawnedJMSServer.java
b/tests/joram-tests/src/test/java/org/apache/activemq/artemis/jms/SpawnedJMSServer.java
index e8a03e3..583cb82 100644
--- a/tests/joram-tests/src/test/java/org/apache/activemq/artemis/jms/SpawnedJMSServer.java
+++ b/tests/joram-tests/src/test/java/org/apache/activemq/artemis/jms/SpawnedJMSServer.java
@@ -73,7 +73,7 @@ public class SpawnedJMSServer
             }
             else
             {
-               // stop anyway but with a error status
+               // stop anyway but with an error status
                System.exit(1);
             }
          }

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/joram-tests/src/test/java/org/objectweb/jtests/jms/conform/connection/TopicConnectionTest.java
----------------------------------------------------------------------
diff --git a/tests/joram-tests/src/test/java/org/objectweb/jtests/jms/conform/connection/TopicConnectionTest.java
b/tests/joram-tests/src/test/java/org/objectweb/jtests/jms/conform/connection/TopicConnectionTest.java
index de40a63..f9461e6 100644
--- a/tests/joram-tests/src/test/java/org/objectweb/jtests/jms/conform/connection/TopicConnectionTest.java
+++ b/tests/joram-tests/src/test/java/org/objectweb/jtests/jms/conform/connection/TopicConnectionTest.java
@@ -57,7 +57,7 @@ public class TopicConnectionTest extends PubSubTestCase
          // now the connection has a client ID (either "testSetClientID_1" or one set by
the provider
          Assert.assertTrue(subscriberConnection.getClientID() != null);
 
-         // a attempt to set a client ID should now throw an IllegalStateException
+         // an attempt to set a client ID should now throw an IllegalStateException
          subscriberConnection.setClientID("another client ID");
          Assert.fail("Should raise a javax.jms.IllegalStateException");
       }
@@ -100,7 +100,7 @@ public class TopicConnectionTest extends PubSubTestCase
          // we start the connection
          subscriberConnection.start();
 
-         // an attempt to set the client ID now should throw a IllegalStateException
+         // an attempt to set the client ID now should throw an IllegalStateException
          subscriberConnection.setClientID("testSetClientID_2");
          Assert.fail("Should throw a javax.jms.IllegalStateException");
       }

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b0a80ce1/tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/core/message/impl/MessageImplTest.java
----------------------------------------------------------------------
diff --git a/tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/core/message/impl/MessageImplTest.java
b/tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/core/message/impl/MessageImplTest.java
index 390f17d..a2ebd6c 100644
--- a/tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/core/message/impl/MessageImplTest.java
+++ b/tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/core/message/impl/MessageImplTest.java
@@ -359,7 +359,7 @@ public class MessageImplTest extends ActiveMQTestBase
       buf.setIndex(buf.capacity() / 2, buf.capacity() / 2);
 
       // ok this is not actually happening during the read process, but changing this shouldn't
affect the buffer on copy
-      // this is to exagerate the isolation on this test
+      // this is to exaggerate the isolation on this test
       buf.writeBytes(new byte[1024]);
    }
 


Mime
View raw message