You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Loic Guibert (JIRA)" <ji...@apache.org> on 2015/11/02 06:04:27 UTC

[jira] [Created] (LANG-1183) Making replacePattern/removePattern methods null safe

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)