[TR-138] IndexUtil.copyStructure fails when source and destination indices are same Created: 26/Jul/10  Updated: 05/Apr/11  Resolved: 26/Jul/10

Status: Resolved
Project: Terrier Core
Component/s: .structures
Affects Version/s: 3.0
Fix Version/s: 3.5

Type: Bug Priority: Major
Reporter: Craig Macdonald Assignee: Craig Macdonald
Resolution: Fixed  
Labels: None


 Description   
Exception in thread "main" java.util.ConcurrentModificationException
        at java.util.Hashtable$Enumerator.next(Hashtable.java:1031)
        at org.terrier.structures.IndexUtil.copyStructure(IndexUtil.java:272)
       at.....



 Comments   
Comment by Craig Macdonald [ 26/Jul/10 ]

Simple fix implemented and two JUnit tests added.

Generated at Wed Dec 13 08:54:11 GMT 2017 using JIRA 7.1.1#71004-sha1:d6b2c0d9b7051e9fb5e4eb8ce177ca56d91d7bd8.