struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4443) Rename scope default to prototype
Date Thu, 18 Jun 2015 09:54:01 GMT

    [ https://issues.apache.org/jira/browse/WW-4443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14591574#comment-14591574
] 

ASF subversion and git services commented on WW-4443:
-----------------------------------------------------

Commit 356b5c57b269e6ba7cfe267d4517e5f7a27ce200 in struts's branch refs/heads/master from
[~lukaszlenart]
[ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=356b5c5 ]

WW-4443 Renames scope DEFAULT into PROTOTYPE


> Rename scope default to prototype
> ---------------------------------
>
>                 Key: WW-4443
>                 URL: https://issues.apache.org/jira/browse/WW-4443
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: XML Configuration
>    Affects Versions: 2.3.20
>            Reporter: Lukasz Lenart
>             Fix For: 2.5
>
>
> Internal DI mechanism uses {{default}} scope which is basically a prototype scope, but
the default scope is {{singleton}} in Struts, thus leads to confusion and misconfiguration.
> It'd be better to use name {{prototype}} to clearly express its meaning.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message