Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

i am getting ConCurrentModificationException

 
mk yadav
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am getting ConCurrentModificationException here..

for(Part part:list){
if(part.getId()>=lower && part.getId()<=upper){
list.add(part);
}
}

how to resolve it.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!