You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by ThrawnCA <gi...@git.apache.org> on 2017/09/06 02:23:45 UTC

[GitHub] struts pull request #165: WW-4849 Restore ObjectFactory no-arg constructor f...

GitHub user ThrawnCA opened a pull request:

    https://github.com/apache/struts/pull/165

    WW-4849 Restore ObjectFactory no-arg constructor for compatibility

    As per [documentation](https://struts.apache.org/docs/objectfactory.html), extending classes will expect to use the no-arg constructor. Removing it breaks them all.
    
    Moreover, since implementations are supposed to use no-arg constructors themselves, how are they supposed to have immediate access to a Container to pass to the superclass constructor?

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ThrawnCA/struts WW-4849-ObjectFactory-constructor

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/struts/pull/165.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #165
    
----
commit f6028952077ae26ee3ceae463d2cb4e51049993d
Author: thrawnca <sh...@yahoo.com.au>
Date:   2017-09-06T02:19:26Z

    WW-4849 Restore ObjectFactory no-arguments constructor for compatibility with extensions

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org