brusdev commented on code in PR #5555:
URL: https://github.com/apache/activemq-artemis/pull/5555#discussion_r2000828155
##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/config/WildcardConfiguration.java:
##########
@@ -178,6 +180,22 @@ public String convert(final String input, final
WildcardConfiguration target) {
}
}
+ /**
+ * Detect whether the input {@code String} contains the "any words" or
"single word" character and is not escaped.
+ */
+ public boolean isWild(String input) {
+ return input == null ? false : ((input.contains(getAnyWordsString()) ||
input.contains(getSingleWordString())) && !isEscaped(input));
Review Comment:
Should `isWild` return true when it include one `any words` character
escaped and one `any words` character not escaped?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact