Skip to content

Commit

Permalink
Fixed a typo error "unkown" -> "unknown"
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobaccan authored and clebertsuconic committed Feb 17, 2022
1 parent f0a9662 commit dc1c269
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ private static SCRAM getTypeByString(String type) {
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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public static void main(String[] arg) {
System.exit(-1);
}
} else {
System.err.println("Test " + arg[0] + " unkown");
System.err.println("Test " + arg[0] + " unknown");
System.exit(-2);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private ConnectionFactory getJmsConnectionFactory(int node) {
} 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;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static ConnectionFactory createConnectionFactory(String protocol, String
} 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);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public static ConnectionFactory createConnectionFactory(String protocol, String
} 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);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static ConnectionFactory createConnectionFactory(String protocol, String
} 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);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public static ConnectionFactory createConnectionFactory(String protocol, String
} 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);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ private static ConnectionFactory createConnectionFactory(String protocol, String
} 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);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private static ConnectionFactory createConnectionFactory(String protocol, String
} 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);
}
}

Expand Down

0 comments on commit dc1c269

Please sign in to comment.