[
https://issues.apache.org/jira/browse/LANG-1779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated LANG-1779:
-----------------------------------
Summary: How to pick the the non deprecated method removeFirst in
org.apache.commons.lang3.RegExUtils (was: How to pick the the non deprecated
method removeFirst in org.apache.commons.lang3..RegExUtils)
> How to pick the the non deprecated method removeFirst in
> org.apache.commons.lang3.RegExUtils
> --------------------------------------------------------------------------------------------
>
> Key: LANG-1779
> URL: https://issues.apache.org/jira/browse/LANG-1779
> Project: Commons Lang
> Issue Type: Bug
> Reporter: Daniel Stieglitz
> Priority: Minor
>
> I am a developer on Apache NIFI and I am trying to replace the use of the now
> deprecated method removeFirst whose first argument is a String and replace it
> with the new method removeFirst whose first argument is a CharSequence. The
> problem I am encountering is the compiler always picks methods based on
> specificity which would be the deprecated method whose argument is String
> which is more specific than a CharSequence. Hence I cannot ever use the new
> method.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)