[
https://issues.apache.org/jira/browse/LANG-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benedikt Ritter resolved LANG-1131.
-----------------------------------
Resolution: Fixed
Assignee: Benedikt Ritter
Fixed in fc73151cfca36ea2641f340700dbe339b9e1f103
> StrBuilder.equals(StrBuilder) doesn't check for null inputs
> -----------------------------------------------------------
>
> Key: LANG-1131
> URL: https://issues.apache.org/jira/browse/LANG-1131
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.text.*
> Reporter: Benedikt Ritter
> Assignee: Benedikt Ritter
> Fix For: 3.5
>
>
> The following test will fail because the {{equals(StrBuilder)}} overload in
> {{StrBuilder}} does not check for null inputs:
> {code:java}
> @Test
> public void testEqualsWithNullStrBuilder() throws Exception {
> final StrBuilder sb = new StrBuilder();
> final StrBuilder other = null;
> assertFalse(sb.equals(other));
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)