[ 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-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org