Author: batosai
Date: 2008-09-11 12:03:33 +0000 (Thu, 11 Sep 2008)
New Revision: 22593
Modified:
trunk/plugins/WoT/src/plugins/WoT/Identity.java
Log:
Doh !
Modified: trunk/plugins/WoT/src/plugins/WoT/Identity.java
===================================================================
--- trunk/plugins/WoT/src/plugins/WoT/Identity.java 2008-09-11 11:54:05 UTC
(rev 22592)
+++ trunk/plugins/WoT/src/plugins/WoT/Identity.java 2008-09-11 12:03:33 UTC
(rev 22593)
@@ -183,7 +183,7 @@
public void updateScore (ObjectContainer db) throws
DuplicateScoreException, DuplicateTrustException {
ObjectSet<OwnIdentity> treeOwners =
OwnIdentity.getAllOwnIdentities(db);
- Logger.error(this, "There is no own identity");
+ if(treeOwners.size() == 0) Logger.error(this, "Can't update "+
getNickName()+"'s score : there is no own identity yet");
while(treeOwners.hasNext())
updateScore (db, treeOwners.next());
}