[jboss-jira] [JBoss JIRA] (SECURITY-769) Initialize AbstractServerLoginModule#validOptions with correct size

Philippe Marschall (JIRA) jira-events at lists.jboss.org
Sun Nov 17 07:06:05 EST 2013


    [ https://issues.jboss.org/browse/SECURITY-769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924255#comment-12924255 ] 

Philippe Marschall commented on SECURITY-769:
---------------------------------------------

pull request is here
https://github.com/picketbox/picketbox-container/pull/1
                
> Initialize AbstractServerLoginModule#validOptions with correct size
> -------------------------------------------------------------------
>
>                 Key: SECURITY-769
>                 URL: https://issues.jboss.org/browse/SECURITY-769
>             Project: PicketBox 
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: PicketBox
>            Reporter: Philippe Marschall
>            Assignee: Stefan Guilhen
>
> {{AbstractServerLoginModule#validOptions}} is initialized with the default {{HashSet}} size (which is the default {{HashMap}}) size. However since it's lazily initialized in {{addValidOptions}} and we have the valid module options there we know what the right size will be.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list