I believe the most simple way to fix this would be to wrap all calls to notecollection with synchronized blocks. This should get us rid of the concurrent modifications issues.
The basic problem here is that the List used to store the notes in the NoceCollection is not thread safe.
I believe the most simple way to fix this would be to wrap all calls to notecollection with synchronized blocks. This should get us rid of the concurrent modifications issues.
The basic problem here is that the List used to store the notes in the NoceCollection is not thread safe.