Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
I am trying to reduce the amount of dependencies of the Apache Karaf project.
One of the subcomponents uses wagon-http and wagon-file. By doing so, it receives a dependency to commons-lang.
The reason is that wagon-file has a single use of StringUtils.replaceAll().
This dependency can be easily avoided using the JDK util
destinationPath.replace('\\', '/');
while this is also a bit faster, the main benefit is that we now can completely remove the lang dependency.
Thank you!
Attachments
Issue Links
- duplicates
-
WAGON-447 Remove Commons Lang 2 for a few cases
- Closed
- links to