Author: toad
Date: 2009-01-27 22:55:08 +0000 (Tue, 27 Jan 2009)
New Revision: 25341
Modified:
branches/db4o/freenet/src/freenet/support/io/PersistentBlobTempBucketFactory.java
Log:
DOH!
Modified:
branches/db4o/freenet/src/freenet/support/io/PersistentBlobTempBucketFactory.java
===================================================================
---
branches/db4o/freenet/src/freenet/support/io/PersistentBlobTempBucketFactory.java
2009-01-27 22:52:11 UTC (rev 25340)
+++
branches/db4o/freenet/src/freenet/support/io/PersistentBlobTempBucketFactory.java
2009-01-27 22:55:08 UTC (rev 25341)
@@ -73,7 +73,7 @@
container.activate(storageFile, 100);
File oldFile = FileUtil.getCanonicalFile(new
File(storageFile.getPath())); // db4o argh
File newFile = FileUtil.getCanonicalFile(new
File(storageFile2.getPath()));
- if(!(oldFile.equals(newFile) ||
+ if((oldFile.equals(newFile) ||
(File.separatorChar == '\\' ?
oldFile.getPath().toLowerCase().equals(newFile.getPath().toLowerCase()) :
oldFile.getPath().equals(newFile.getPath())))) {
if(blockSize != blockSize2)
throw new IllegalStateException("My block size
is "+blockSize2+
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs