kusalk opened a new pull request, #1117:
URL: https://github.com/apache/struts/pull/1117

   WW-3714
   --
   Whilst working on #1116, I noticed a minor issue with how overriding of 
classes that implement the old/deprecated `Result`/`Interceptor` interfaces 
behave.
   
   Currently, if an application extends for example, 
`org.apache.struts2.result.HttpHeaderResult` and overrides the new signature 
`void execute(org.apache.struts2.ActionInvocation invocation)` instead of the 
old one `void execute(com.opensymphony.xwork2.ActionInvocation invocation)` - 
this override will have no effect.
   
   The changes in this PR ensure the override will function as expected 
irrespective of whether the old or new signature is overridden. This works 
because the default implementation for the new signature in the old/deprecated 
interfaces is to delegate to the old signature.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to