Author: xor
Date: 2008-11-11 09:26:12 +0000 (Tue, 11 Nov 2008)
New Revision: 23480
Modified:
trunk/plugins/WoT/Identity.java
Log:
Add FIXME.
Modified: trunk/plugins/WoT/Identity.java
===================================================================
--- trunk/plugins/WoT/Identity.java 2008-11-11 09:20:53 UTC (rev 23479)
+++ trunk/plugins/WoT/Identity.java 2008-11-11 09:26:12 UTC (rev 23480)
@@ -229,7 +229,16 @@
else if(result.size() > 1) throw new
DuplicateScoreException(this.getRequestURI().toString()+" ("+ getNickName() +")
has "+result.size()+" scores in "+treeOwner.getNickName()+"'s trust tree");
else return result.next();
}
+
+ /*
+ * FIXME:
+ * I suggest before releasing we should write a getRealScore() function
which recalculates the score from all Trust objects which are stored
+ * in the database. We could then assert(getScore() == getRealScore())
for verifying that the database is consistent and watch for some time
+ * whether it stays consistent, just to make sure that there are no
flaws in the code.
+ */
+
+
/**
* Gets all this Identity's Scores.
*
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs