Loic Guibert created LANG-1183:
----------------------------------
Summary: Making replacePattern/removePattern methods null safe
Key: LANG-1183
URL: https://issues.apache.org/jira/browse/LANG-1183
Project: Commons Lang
Issue Type: Improvement
Components: lang.*
Reporter: Loic Guibert
Assignee: Loic Guibert
Priority: Minor
Following the [#LANG-1139|https://issues.apache.org/jira/browse/LANG-1139]
ticket, it would be nice to make these methods null safe :
{code:java}
public static String replacePattern(final String source, final String regex,
final String replacement);
public static String removePattern(final String source, final String regex);
{code}
A null reference passed to these methods would be a no-op.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)