You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Lorenz Quack (JIRA)" <ji...@apache.org> on 2015/05/01 11:15:06 UTC
[jira] [Updated] (QPID-6522) [Java] Remove dependencies on
commons-lang, commons-codec
[ https://issues.apache.org/jira/browse/QPID-6522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lorenz Quack updated QPID-6522:
-------------------------------
Attachment: 0001-QPID-6522-Java-fix-joiner-to-replace-null-with-the-e.patch
Replacing StringUtils.join with Joiner broke some tests because StringUtils.join replaced null with the empty string whereas Joiner does not by default. This patch adds a call to useForNull("") to make Joiner mimic the old StringUtils behaviour.
> [Java] Remove dependencies on commons-lang, commons-codec
> ---------------------------------------------------------
>
> Key: QPID-6522
> URL: https://issues.apache.org/jira/browse/QPID-6522
> Project: Qpid
> Issue Type: Improvement
> Components: Java Broker
> Reporter: Rob Godfrey
> Assignee: Rob Godfrey
> Priority: Minor
> Fix For: 6.0 [Java]
>
> Attachments: 0001-QPID-6522-Java-fix-joiner-to-replace-null-with-the-e.patch
>
>
> We already depend heavily on the guava library which contains alternatives for most of what we use commons-lang for, and for the rest we already have alternative implementations.
> Commons codec is mostly used for base64 encoding, for which there exists an implementation in the standard libraries.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org