forked from I2P_Developers/i2p.i2p
fixup after prop
This commit is contained in:
@@ -498,11 +498,11 @@ public class Storage
|
|||||||
{
|
{
|
||||||
// Create base as file.
|
// Create base as file.
|
||||||
if (_log.shouldLog(Log.INFO))
|
if (_log.shouldLog(Log.INFO))
|
||||||
_log.info("Creating/Checking file: " + base);
|
_log.info("Creating/Checking file: " + _base);
|
||||||
// createNewFile() can throw a "Permission denied" IOE even if the file exists???
|
// createNewFile() can throw a "Permission denied" IOE even if the file exists???
|
||||||
// so do it second
|
// so do it second
|
||||||
if (!base.exists() && !base.createNewFile())
|
if (!_base.exists() && !_base.createNewFile())
|
||||||
throw new IOException("Could not create file " + base);
|
throw new IOException("Could not create file " + _base);
|
||||||
|
|
||||||
_torrentFiles.add(new TorrentFile(_base, _base, metainfo.getTotalLength()));
|
_torrentFiles.add(new TorrentFile(_base, _base, metainfo.getTotalLength()));
|
||||||
if (useSavedBitField) {
|
if (useSavedBitField) {
|
||||||
|
Reference in New Issue
Block a user