Fixed a typo error "unkown" -> "unknown"
This commit is contained in:
parent
f0a96628b4
commit
dc1c269b36
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue