Changeset 1380


Ignore:
Timestamp:
Jan 12, 2011, 5:14:16 PM (6 years ago)
Author:
t.w.abma@…
Message:
  • removing cells, concurrentModificationException fixed?
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/importer/ImporterController.groovy

    r1379 r1380  
    507507        // Valid entity, remove it from failedcells
    508508        failedcells.each { record ->
    509             //record.importcells.each { cell ->
     509            record.importcells.each { cell ->
    510510            // remove the cell from the failed cells session
    511 
    512             Iterator celliter = record.importcells.iterator()
    513             while (celliter.hasNext()) {
    514                 def cell = celliter.next()
    515511
    516512                if (cell.entityidentifier == entity.getIdentifier()) {
    517513                    //record.removeFromImportcells(cell)
    518                     cell.remove()
    519                 }
    520             }
    521 
     514                    cell = null
     515                }
     516            }
    522517           // } // end of importcells
    523518        } // end of failedcells
Note: See TracChangeset for help on using the changeset viewer.