[ 
https://issues.apache.org/jira/browse/RIVER-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Niclas Hedhman updated RIVER-430:
---------------------------------

    Priority: Trivial  (was: Major)

> Minor precedence bug in DefaultPolicyScanner.PrincipalEntry.toString
> --------------------------------------------------------------------
>
>                 Key: RIVER-430
>                 URL: https://issues.apache.org/jira/browse/RIVER-430
>             Project: River
>          Issue Type: Bug
>          Components: net_jini_security
>            Reporter: Niclas Hedhman
>            Priority: Trivial
>         Attachments: Fixed_precedence_bug_in_toString.patch
>
>
> The calculation of the StringBuilder size is incorrect
> However, I also suspect that the operations to determine the total size of 
> the string is a sub-optimization, that it is likely to not be any faster, nor 
> save any particular amount of memory, and should simply be replaced with a,
> StringBuilder sb = new StringBuilder(100);



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to