[
https://issues.apache.org/jira/browse/FLUME-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472924#comment-13472924
]
Daisuke Kobayashi edited comment on FLUME-1569 at 10/10/12 1:27 AM:
--------------------------------------------------------------------
Do you mean it should be
queueLock = new Integer(0);
not
queueLock = 0
right? Please don't be to harsh with me if I did something wrong.
was (Author: daisuke.kobayashi):
Do you mean
queueLock = new Integer(0);
not
queueLock = 0
right? Please don't be to harsh with me if I did something wrong.
> 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