Do not synchronize on objects that may be reused
------------------------------------------------

                 Key: MAILBOX-141
                 URL: https://issues.apache.org/jira/browse/MAILBOX-141
             Project: James Mailbox
          Issue Type: Bug
          Components: store
    Affects Versions: 0.4
            Reporter: Felix Knecht
            Priority: Critical


public Iterator<Long> search has a synchronization on the Boolean 'done'
https://builds.apache.org/view/G-L/view/James/job/mailbox-site/site/apache-james-mailbox-store/findbugs.html#org.apache.james.mailbox.store.search.LazyMessageSearchIndex

See
http://findbugs.sourceforge.net/bugDescriptions.html#DL_SYNCHRONIZATION_ON_BOOLEAN
https://www.securecoding.cert.org/confluence/display/java/LCK01-J.+Do+not+synchronize+on+objects+that+may+be+reused

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to