try {
hash = info.torrent.getHash();
} catch (TOTorrentException e1) {
}
DownloadManager dm = gm.addDownloadManager(info.sFileName, hash, info.sDestDir, info.sDestSubDir, iStartState, true, info.iStartID == STARTMODE_SEEDING, new DownloadManagerInitialisationAdapter()
{
public void initialised(DownloadManager dm) {
DiskManagerFileInfo[] fileInfos = dm.getDiskManagerFileInfo();
boolean reorder_mode = COConfigurationManager.getBooleanParameter( "Enable reorder storage mode" );