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

Gilles Sadowski commented on LANG-1810:
---------------------------------------

Variable {{SOFT_MAX_ARRAY_LENGTH}} is not used in "Commons Lang".  What's its 
purpose?

bq. it will only cause issues for applications that are already faulty.

Rephrasing the question above: What is a "faulty" value for 
{{SOFT_MAX_ARRAY_LENGTH}}?
And how do we ensure that {{SOFT_MAX_ARRAY_LENGTH}} contains a "valid" value 
(no unit test checks for that)?


> Public static fields must be final
> ----------------------------------
>
>                 Key: LANG-1810
>                 URL: https://issues.apache.org/jira/browse/LANG-1810
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 3.20.0
>            Reporter: Sebb
>            Priority: Major
>             Fix For: 4.0
>
>
> https://github.com/apache/commons-lang/blob/8b91981bf647312d2b0af0cc5d00d42f5d843868/src/main/java/org/apache/commons/lang3/ArrayUtils.java#L197



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to