[ 
https://issues.apache.org/jira/browse/ARTEMIS-5528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Bertram updated ARTEMIS-5528:
------------------------------------
    Priority: Minor  (was: Major)

> Replace SimpleString.containsEitherOf with WildcardConfiguration.isWild
> -----------------------------------------------------------------------
>
>                 Key: ARTEMIS-5528
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5528
>             Project: ActiveMQ Artemis
>          Issue Type: Task
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The {{containsEitherOf}} method in {{SimpleString}} is a general purpose 
> method to check if a {{SimpleString}} contains either of two {{char}}. 
> However, this method is only ever used to check if the {{SimpleString}} 
> contains wildcard characters. This job is better suited for the {{isWild}} 
> method of {{WildcardConfiguration}}. Replacing the former with the latter 
> will be more clear and remove unnecessary code.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to