- Timestamp:
- Feb 8, 2010, 9:56:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/CsvService.groovy
r315 r327 354 354 assetSubItem.subItems.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }.each() { assetSubItem4 -> 355 355 writeAssetSubItem4(assetSubItem4) 356 row.remove(row.last()) 357 row.remove(row.last()) 356 row.removeRange(row.size()-2, row.size()) 358 357 } 359 358 } … … 371 370 assetSubItem.subItems.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }.each() { assetSubItem3 -> 372 371 writeAssetSubItem3(assetSubItem3) 373 row.remove(row.last()) 374 row.remove(row.last()) 372 row.removeRange(row.size()-2, row.size()) 375 373 } 376 374 } … … 388 386 assetSubItem.subItems.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }.each() { assetSubItem2 -> 389 387 writeAssetSubItem2(assetSubItem2) 390 row.remove(row.last()) 391 row.remove(row.last()) 388 row.removeRange(row.size()-2, row.size()) 392 389 } 393 390 } … … 413 410 asset.assetSubItems.each() { assetSubItem1 -> 414 411 writeAssetSubItem1(assetSubItem1) 415 row.remove(row.last()) 416 row.remove(row.last()) 412 row.removeRange(row.size()-2, row.size()) 417 413 } 418 414 }
Note: See TracChangeset
for help on using the changeset viewer.