Niclas Hedhman created RIVER-430:
------------------------------------

             Summary: Minor precedence bug in 
DefaultPolicyScanner.PrincipalEntry.toString
                 Key: RIVER-430
                 URL: https://issues.apache.org/jira/browse/RIVER-430
             Project: River
          Issue Type: Bug
            Reporter: Niclas Hedhman


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