Author: toad
Date: 2009-01-27 22:56:11 +0000 (Tue, 27 Jan 2009)
New Revision: 25343
Modified:
branches/db4o/freenet/src/freenet/support/io/PersistentBlobTempBucketFactory.java
Log:
Trivial refactor
Modified:
branches/db4o/freenet/src/freenet/support/io/PersistentBlobTempBucketFactory.java
===================================================================
---
branches/db4o/freenet/src/freenet/support/io/PersistentBlobTempBucketFactory.java
2009-01-27 22:55:54 UTC (rev 25342)
+++
branches/db4o/freenet/src/freenet/support/io/PersistentBlobTempBucketFactory.java
2009-01-27 22:56:11 UTC (rev 25343)
@@ -77,9 +77,8 @@
throw new IllegalStateException("My block size is
"+blockSize2+
" but stored block size is "+blockSize+
" for same file "+storageFile);
- if((oldFile.equals(newFile) ||
+ if(!(oldFile.equals(newFile) ||
(File.separatorChar == '\\' ?
oldFile.getPath().toLowerCase().equals(newFile.getPath().toLowerCase()) :
oldFile.getPath().equals(newFile.getPath())))) {
- } else {
if(!FileUtil.moveTo(storageFile, storageFile2, false))
throw new IOException("Unable to move temp blob
file from "+storageFile+" to "+storageFile2);
}
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs