[TR-257] IndexUtil.rename() should check rename() returns. Created: 29/Jun/11  Updated: 04/Apr/14  Resolved: 16/Apr/12

Status: Resolved
Project: Terrier Core
Component/s: None
Affects Version/s: 3.0, 3.5
Fix Version/s: 3.6

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

If there is a lower-level indexing bug, then a structure file might not be closed. In this situation, on Windows, IndexUtil.rename() should fail or throw an exception, by checking the return code of Files.rename()

Comment by Craig Macdonald [ 16/Apr/12 ]

Committed r3597.

Generated at Tue Mar 19 06:27:33 GMT 2019 using JIRA 7.1.1#71004-sha1:d6b2c0d9b7051e9fb5e4eb8ce177ca56d91d7bd8.