[ 
https://issues.apache.org/struts/browse/STR-2215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Benedict closed STR-2215.
------------------------------

    Resolution: Won't Fix
      Assignee:     (was: Struts Developers)

Java doesn't allow subclassing of static methods, so subclassing RequestUtils 
is a bad decision. You aren't gaining anything here.

> Refactor RequestUtils to allow subclassing
> ------------------------------------------
>
>                 Key: STR-2215
>                 URL: https://issues.apache.org/struts/browse/STR-2215
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: Nightly Build
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Hubert Rabago
>            Priority: Minor
>         Attachments: RequestUtils.diff, RequestUtilsImpl.java
>
>
> Implement RequestUtils as a singleton to allow subclassing by applications.
> This issue had been discussed before and the feedback seemed to indicate an 
> acknowledgement of this need [1].  However, there doesn't seem to be any open 
> Bugzilla tickets for this.  (My apologies if there already are -- I couldn't 
> find any).
> [1] http://marc.theaimsgroup.com/?t=105757000200003&r=1&w=2

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to