Skip to content

Commit 76b7891

Browse files
author
bzhangxmt
committed
Fix Bug 444776 - wildcard misspelled in message as 'wildard'
Fix the misspelled wildcard in MqttTopic.java and messages.properties file. Bug: 444776 Signed-off-by: bzhangxmt <zhbinbj@cn.ibm.com>
1 parent 7df2f4d commit 76b7891

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • org.eclipse.paho.client.mqttv3/src/main/java/org/eclipse/paho/client/mqttv3
  • org.eclipse.paho.ui/org.eclipse.paho.ui.core/src/org/eclipse/paho/mqtt/ui/nls

org.eclipse.paho.client.mqttv3/src/main/java/org/eclipse/paho/client/mqttv3/MqttTopic.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public static void validate(String topicString, boolean wildcardAllowed) {
200200
// *******************************************************************************
201201
if (Strings.containsAny(topicString, TOPIC_WILDCARDS)) {
202202
throw new IllegalArgumentException(
203-
"The topic name MUST NOT contain any wildard characters (#+)");
203+
"The topic name MUST NOT contain any wildcard characters (#+)");
204204
}
205205
}
206206

org.eclipse.paho.ui/org.eclipse.paho.ui.core/src/org/eclipse/paho/mqtt/ui/nls/messages.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ VALIDATION_INVALID_NUM=Current input {0} is not valid integer!
5050
VALIDATION_INVALID_TOPIC_LEN=A topic string length must be in range [{0}-{1}]
5151
VALIDATION_TOPIC_MULTI_LEVEL_WILDCARD=Invalid usage of multi-level wildcard in topic string: {0}
5252
VALIDATION_TOPIC_SINGLE_LEVEL_WILDCARD=Invalid usage of single-level wildcard in topic string: {0}
53-
VALIDATION_TOPIC_WILDCARDS_NOT_ALLOWED=The publish topic must not contain any wildard characters ({0}).
53+
VALIDATION_TOPIC_WILDCARDS_NOT_ALLOWED=The publish topic must not contain any wildcard characters ({0}).
5454

5555
#Nav tree
5656
NAV_TREE_TITLE=MQTT Connections

0 commit comments

Comments
 (0)