[ 
https://issues.apache.org/jira/browse/WW-5138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17386821#comment-17386821
 ] 

Powercom SMT commented on WW-5138:
----------------------------------

 

org.apache.commons.lang3.StringEscapeUtils, this class deprecated as of 
commons-lang3 3.6, Struts uses some of method of this class, such as:

StringEscapeUtils.escapeHtml4(final String input)

StringEscapeUtils.escapeEcmaScript(final String input)

StringEscapeUtils.escapeJava(final String input))

StringEscapeUtils.escapeXml(final String input))

StringEscapeUtils.escapeCsv(final String input))

 

org.apache.commons.lang3.text.StrSubstitutor, this class deprecated as of 
commons-lang3 3.6, Struts uses some of method of this class, such as:

StrSubstitutor(final Map<String, V> valueMap)

StrSubstitutor.replaceSystemProperties(final Object source)

 

> Fix the compilation alarms of deprecated methods
> ------------------------------------------------
>
>                 Key: WW-5138
>                 URL: https://issues.apache.org/jira/browse/WW-5138
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Build Management, Core
>    Affects Versions: 2.5.26
>            Reporter: Powercom SMT
>            Priority: Minor
>             Fix For: 2.5.27, 2.6
>
>         Attachments: image-2021-07-24-19-59-14-814.png
>
>
> There are some compilation alarms caused by the use of some deprecated 
> methods: org.apache.commons.lang3.text.StrSubstitutor
> org.apache.commons.lang3.StringEscapeUtils
>  
> The document of commons-lang3 suggested to use commons-text instead, need to 
> add the dependency and fix the compiling alarms.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to