This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new dc1c269  Fixed a typo error  "unkown" -> "unknown"
dc1c269 is described below

commit dc1c269b3633e59e7199e7c87303ead2cc1b2ae5
Author: Matteo Baccan <[email protected]>
AuthorDate: Mon Feb 14 10:33:13 2022 +0100

    Fixed a typo error  "unkown" -> "unknown"
---
 .../artemis/spi/core/security/jaas/SCRAMPropertiesLoginModule.java      | 2 +-
 .../activemq/artemis/tests/integration/amqp/AmqpNoHearbeatsTest.java    | 2 +-
 .../cluster/crossprotocol/ProtocolsMessageLoadBalancingTest.java        | 2 +-
 .../src/test/java/org/apache/activemq/artemis/tests/util/CFUtil.java    | 2 +-
 .../artemis/tests/smoke/bridgeTransfer/BridgeTransferingTest.java       | 2 +-
 .../activemq/artemis/tests/smoke/logging/AuditLoggerTestBase.java       | 2 +-
 .../apache/activemq/artemis/tests/smoke/mmfactory/MMSFactoryTest.java   | 2 +-
 .../activemq/artemis/tests/smoke/replicationflow/SoakPagingTest.java    | 2 +-
 .../org/apache/activemq/artemis/tests/smoke/transfer/TransferTest.java  | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)

diff --git 
a/artemis-server/src/main/java/org/apache/activemq/artemis/spi/core/security/jaas/SCRAMPropertiesLoginModule.java
 
b/artemis-server/src/main/java/org/apache/activemq/artemis/spi/core/security/jaas/SCRAMPropertiesLoginModule.java
index 7f52f58..ec3eb9b 100644
--- 
a/artemis-server/src/main/java/org/apache/activemq/artemis/spi/core/security/jaas/SCRAMPropertiesLoginModule.java
+++ 
b/artemis-server/src/main/java/org/apache/activemq/artemis/spi/core/security/jaas/SCRAMPropertiesLoginModule.java
@@ -225,7 +225,7 @@ public class SCRAMPropertiesLoginModule extends 
PropertiesLoader implements Audi
       SCRAM scram = Arrays.stream(SCRAM.values())
                           .filter(v -> v.getName().equals(type))
                           .findFirst()
-                          .orElseThrow(() -> new 
IllegalArgumentException("unkown type " + type +
+                          .orElseThrow(() -> new 
IllegalArgumentException("unknown type " + type +
                                    ", supported ones are " + 
getSupportedTypes()));
       return scram;
    }
diff --git 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/AmqpNoHearbeatsTest.java
 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/AmqpNoHearbeatsTest.java
index 9f155cb..104ff2f 100644
--- 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/AmqpNoHearbeatsTest.java
+++ 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/AmqpNoHearbeatsTest.java
@@ -152,7 +152,7 @@ public class AmqpNoHearbeatsTest extends 
AmqpClientTestSupport {
             System.exit(-1);
          }
       } else {
-         System.err.println("Test " + arg[0] + " unkown");
+         System.err.println("Test " + arg[0] + " unknown");
          System.exit(-2);
       }
    }
diff --git 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/crossprotocol/ProtocolsMessageLoadBalancingTest.java
 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/crossprotocol/ProtocolsMessageLoadBalancingTest.java
index a44fe41..5f4d2d8 100644
--- 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/crossprotocol/ProtocolsMessageLoadBalancingTest.java
+++ 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/crossprotocol/ProtocolsMessageLoadBalancingTest.java
@@ -123,7 +123,7 @@ public class ProtocolsMessageLoadBalancingTest extends 
ClusterTestBase {
       } else if (protocol.equals("CORE")) {
          return new ActiveMQConnectionFactory("tcp://localhost:" + (61616 + 
node));
       } else {
-         Assert.fail("Protocol " + protocol + " unkown");
+         Assert.fail("Protocol " + protocol + " unknown");
          return null;
       }
    }
diff --git 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/util/CFUtil.java
 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/util/CFUtil.java
index 923ddb7..bd450d0 100644
--- 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/util/CFUtil.java
+++ 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/util/CFUtil.java
@@ -36,7 +36,7 @@ public class CFUtil {
       } else if (protocol.toUpperCase().equals("CORE") || 
protocol.toUpperCase().equals("ARTEMIS")) {
          return new 
org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory(uri);
       } else {
-         throw new IllegalStateException("Unkown:" + protocol);
+         throw new IllegalStateException("Unknown:" + protocol);
       }
    }
 
diff --git 
a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/bridgeTransfer/BridgeTransferingTest.java
 
b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/bridgeTransfer/BridgeTransferingTest.java
index 5b58857..61a55c7 100644
--- 
a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/bridgeTransfer/BridgeTransferingTest.java
+++ 
b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/bridgeTransfer/BridgeTransferingTest.java
@@ -87,7 +87,7 @@ public class BridgeTransferingTest extends SmokeTestBase {
       } else if (protocol.toUpperCase().equals("CORE") || 
protocol.toUpperCase().equals("ARTEMIS")) {
          return new 
org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory(uri);
       } else {
-         throw new IllegalStateException("Unkown:" + protocol);
+         throw new IllegalStateException("Unknown:" + protocol);
       }
    }
 
diff --git 
a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/logging/AuditLoggerTestBase.java
 
b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/logging/AuditLoggerTestBase.java
index 9c346d3..6367d0e 100644
--- 
a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/logging/AuditLoggerTestBase.java
+++ 
b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/logging/AuditLoggerTestBase.java
@@ -72,7 +72,7 @@ public abstract class AuditLoggerTestBase extends 
SmokeTestBase {
       } else if (protocol.toUpperCase().equals("CORE") || 
protocol.toUpperCase().equals("ARTEMIS")) {
          return new 
org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory(uri);
       } else {
-         throw new IllegalStateException("Unkown:" + protocol);
+         throw new IllegalStateException("Unknown:" + protocol);
       }
    }
 }
diff --git 
a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/mmfactory/MMSFactoryTest.java
 
b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/mmfactory/MMSFactoryTest.java
index 95eec1a..9155926 100644
--- 
a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/mmfactory/MMSFactoryTest.java
+++ 
b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/mmfactory/MMSFactoryTest.java
@@ -119,7 +119,7 @@ public class MMSFactoryTest extends SmokeTestBase {
       } else if (protocol.toUpperCase().equals("CORE") || 
protocol.toUpperCase().equals("ARTEMIS")) {
          return new 
org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory(uri);
       } else {
-         throw new IllegalStateException("Unkown:" + protocol);
+         throw new IllegalStateException("Unknown:" + protocol);
       }
    }
 
diff --git 
a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/replicationflow/SoakPagingTest.java
 
b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/replicationflow/SoakPagingTest.java
index 2c836ed..2294d45 100644
--- 
a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/replicationflow/SoakPagingTest.java
+++ 
b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/replicationflow/SoakPagingTest.java
@@ -128,7 +128,7 @@ public class SoakPagingTest extends SmokeTestBase {
       } else if (protocol.toUpperCase().equals("CORE") || 
protocol.toUpperCase().equals("ARTEMIS")) {
          return new 
org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory(uri);
       } else {
-         throw new IllegalStateException("Unkown:" + protocol);
+         throw new IllegalStateException("Unknown:" + protocol);
       }
    }
 
diff --git 
a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/transfer/TransferTest.java
 
b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/transfer/TransferTest.java
index 1d64bfd..292fae0 100644
--- 
a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/transfer/TransferTest.java
+++ 
b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/transfer/TransferTest.java
@@ -89,7 +89,7 @@ public class TransferTest extends SmokeTestBase {
       } else if (protocol.toUpperCase().equals("CORE") || 
protocol.toUpperCase().equals("ARTEMIS")) {
          return new 
org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory(uri);
       } else {
-         throw new IllegalStateException("Unkown:" + protocol);
+         throw new IllegalStateException("Unknown:" + protocol);
       }
    }
 

Reply via email to