Author: toad
Date: 2008-06-18 18:42:57 +0000 (Wed, 18 Jun 2008)
New Revision: 20444

Added:
   branches/db4o/freenet/src/freenet/support/NullObject.java
Log:
NullObject: replace raw Object's, workaround for a bug in db4o

Added: branches/db4o/freenet/src/freenet/support/NullObject.java
===================================================================
--- branches/db4o/freenet/src/freenet/support/NullObject.java                   
        (rev 0)
+++ branches/db4o/freenet/src/freenet/support/NullObject.java   2008-06-18 
18:42:57 UTC (rev 20444)
@@ -0,0 +1,15 @@
+package freenet.support;
+
+/**
+ * A null Object. Used where Object would be used, but can't be, because of 
db4o's inability
+ * to store raw Object's. Usually this is used for synchronization in dual-use 
(persistent or 
+ * not) classes.
+ * 
+ * See http://tracker.db4o.com/browse/COR-1314
+ * @author toad
+ */
+public class NullObject {
+       
+       // Nothing
+
+}


Reply via email to