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-4290) DefaultTypeConverter primitiveDefaults should be static
Date Sat, 22 Mar 2014 08:10:43 GMT

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

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

Commit 49ecb5f9f764b1b2a78072fa68b4377b8d2911fa in struts's branch refs/heads/develop from
[~lukaszlenart]
[ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=49ecb5f ]

WW-4290 Uses static map instead instance map to reduce memory consumption


> DefaultTypeConverter primitiveDefaults should be static
> -------------------------------------------------------
>
>                 Key: WW-4290
>                 URL: https://issues.apache.org/jira/browse/WW-4290
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Other
>            Reporter: Jasper Rosenberg
>            Assignee: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.3.17
>
>
> Each type converter which extends DefaultTypeConverter ends up creating its own copy
of the private final unmodifable map primitiveDefaults.  It should just be static and be initialized
statically.  



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message