[ 
https://issues.apache.org/jira/browse/CAMEL-4908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13187720#comment-13187720
 ] 

Bilgin Ibryam commented on CAMEL-4908:
--------------------------------------

I will pay more attention to CS. My editor intelliJ orders the imports in 
different order and I don't know the order expected from CS, will spent some 
time there.

About:
return Collections.unmodifiableList(new ArrayList(receivedStatuses));

the caller is not able to modify the array, but while the caller is iterating 
the source array is modified with clear/add methods and that's causing the 
error mentioned previously
                
> Twitter component fixes
> -----------------------
>
>                 Key: CAMEL-4908
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4908
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-twitter
>    Affects Versions: 2.10.0
>            Reporter: Bilgin Ibryam
>            Assignee: Bilgin Ibryam
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: twitter.diff
>
>
> Fix ConcurrentModificationException for StreamingConsumer.
> Fix NPE for FilterConsumer
> Use additional query parameters for FilterConsumer like userIds, keywords.
> I didn't added tests for these fixes, because currently it seems like it 
> connects to the internet and does real twitter queries. I will check this in 
> a separate issue. 

--
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

        

Reply via email to