[
https://issues.apache.org/jira/browse/FLUME-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472928#comment-13472928
]
Brock Noland commented on FLUME-1569:
-------------------------------------
Hi,
You certainly didn't do anything wrong! We should use new Object(). It's not a
huge deal, just a small safety thing.
--
Brock Noland
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
> MemoryChannel uses an Integer has a lock
> ----------------------------------------
>
> Key: FLUME-1569
> URL: https://issues.apache.org/jira/browse/FLUME-1569
> Project: Flume
> Issue Type: Improvement
> Affects Versions: v1.2.0, v1.3.0
> Reporter: Brock Noland
> Priority: Trivial
>
> MemoryChannel uses an Integer has a lock, field queueLock. Some IDEs will
> intern Integer objects. We should use new Object() here to ensure this
> doesn't happen.
--
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