Author: toad
Date: 2009-01-29 19:46:27 +0000 (Thu, 29 Jan 2009)
New Revision: 25377
Modified:
branches/db4o/freenet/src/freenet/support/io/PersistentBlobTempBucket.java
Log:
Paranoia
Modified:
branches/db4o/freenet/src/freenet/support/io/PersistentBlobTempBucket.java
===================================================================
--- branches/db4o/freenet/src/freenet/support/io/PersistentBlobTempBucket.java
2009-01-29 19:28:59 UTC (rev 25376)
+++ branches/db4o/freenet/src/freenet/support/io/PersistentBlobTempBucket.java
2009-01-29 19:46:27 UTC (rev 25377)
@@ -39,6 +39,7 @@
blockSize = blockSize2;
index = slot;
hashCode = super.hashCode();
+ if(tag == null) throw new NullPointerException();
this.tag = tag;
}
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs