You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Markus Spann (Jira)" <ji...@apache.org> on 2022/10/16 09:42:00 UTC

[jira] [Created] (JXR-176) Remove dependency org.apache.commons:commons-lang3

Markus Spann created JXR-176:
--------------------------------

             Summary: Remove dependency org.apache.commons:commons-lang3
                 Key: JXR-176
                 URL: https://issues.apache.org/jira/browse/JXR-176
             Project: Maven JXR
          Issue Type: Improvement
          Components: jxr
    Affects Versions: 3.3.0
            Reporter: Markus Spann


The project depended on the Apache commons-lang3 library of String-related functionality for its {{StringUtils.replace}} method only, which is a null-safe alternative to {{{}String.replace{}}}.
Review of StringUtils usage shows that affected variables cannot be null. Thus the dependency can be removed and the code replaced by core Java.



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