[
https://issues.apache.org/jira/browse/CODEC-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868675#action_12868675
]
Dmitry Mamonov commented on CODEC-100:
--------------------------------------
True, all this projects:
Antlr, HtmlUnit, wsdl4j, MySQL JDBC driver, Groovy, Plexus, Apache Axis, Apache
CXF, Ant, Spring
have their StringUtils class.
But I myself won't use their StringUtils because it is never part of their API
(maybe except Spring).
But both in "lang" and in "codec" StringUtils classes is declired to be widely
used.
"codec" is a part of apache-commons project (same as "lang") so it will be
better to not intersect class names in this projects (and others too).
And, org.apache.commons.codec.binary.StringUtils class has only methods to
convert strings to bytes and visa versa.
I think StringCodec name suites this functionallity better than StringUtils.
> Please rename class StringUtils to StringCodec or someting (because there is
> class with same name in commons-lang)
> ------------------------------------------------------------------------------------------------------------------
>
> Key: CODEC-100
> URL: https://issues.apache.org/jira/browse/CODEC-100
> Project: Commons Codec
> Issue Type: Improvement
> Affects Versions: 1.4
> Reporter: Dmitry Mamonov
>
> Duplicate class name in libraries "codec" and "lang":
> org.apache.commons.lang.StringUtils
> org.apache.commons.codec.binary.StringUtils
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.