Sebb created CODEC-230:
--------------------------

             Summary: URLCodec.WWW_FORM_URL should be private
                 Key: CODEC-230
                 URL: https://issues.apache.org/jira/browse/CODEC-230
             Project: Commons Codec
          Issue Type: Bug
    Affects Versions: 1.10
            Reporter: Sebb


URLCodec.WWW_FORM_URL is mutable and should be made private.
Otherwise subclasses can change the array accidentally or deliberately.

However this would change the API for sub-classes.

A work-round would be to create a parallel private field and keep WWW_FORM_URL 
as a copy, but marked deprecated.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to