[
https://issues.apache.org/jira/browse/AMQ-9544?focusedWorklogId=930684&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-930684
]
ASF GitHub Bot logged work on AMQ-9544:
---------------------------------------
Author: ASF GitHub Bot
Created on: 16/Aug/24 22:36
Start Date: 16/Aug/24 22:36
Worklog Time Spent: 10m
Work Description: pa-deasy opened a new pull request, #1281:
URL: https://github.com/apache/activemq/pull/1281
**What problems does this PR solve?**
As per the [WildcardFileFilter
docs](https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/filefilter/WildcardFileFilter.html#%3Cinit%3E(java.lang.String))
the `WildcardFileFilter(String wildcard)` constructor is deprecated. Replace
this constructor with the recommended
[Builder](https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/filefilter/WildcardFileFilter.Builder.html).
**Why is it beneficial to merge into ActiveMQ?**
Updates deprecated code with the recommended approach.
**How do you make sure this PR is well tested?**
Ran all of the tests that were updated to ensure they are still passing.
For abstract test classes, tested the classes which extend them.
Issue Time Tracking
-------------------
Worklog Id: (was: 930684)
Remaining Estimate: 0h
Time Spent: 10m
> activemq-unit-tests, warnings about use of deprecated WildcardFileFilter
> constructor
> ------------------------------------------------------------------------------------
>
> Key: AMQ-9544
> URL: https://issues.apache.org/jira/browse/AMQ-9544
> Project: ActiveMQ Classic
> Issue Type: Improvement
> Components: Test Cases
> Reporter: Alexej Timonin
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> activemq-unit-tests outputs warnings about use of deprecated
> WildcardFileFilter constructor in the unit tests.
--
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