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

Lukasz Lenart resolved WW-5588.
-------------------------------
    Resolution: Fixed

> Allow Preparable interface to work with only per-method prepare*() 
> implementations
> ----------------------------------------------------------------------------------
>
>                 Key: WW-5588
>                 URL: https://issues.apache.org/jira/browse/WW-5588
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>            Priority: Minor
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Currently the {{Preparable}} interface requires implementing {{prepare()}} 
> even when using only per-method variants like {{prepareUpload()}} or 
> {{{}prepareEdit(){}}}.
> *Proposal*: Change {{prepare()}} to a default method with empty 
> implementation, allowing
> actions to implement only the specific {{prepare*()}} methods they need.
> _This is backward-compatible - existing implementations continue to work 
> unchanged._



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

Reply via email to