Author: xor
Date: 2008-09-17 13:47:36 +0000 (Wed, 17 Sep 2008)
New Revision: 22668
Modified:
trunk/plugins/WoT/Identity.java
Log:
Remove useless toString()
Modified: trunk/plugins/WoT/Identity.java
===================================================================
--- trunk/plugins/WoT/Identity.java 2008-09-17 13:46:29 UTC (rev 22667)
+++ trunk/plugins/WoT/Identity.java 2008-09-17 13:47:36 UTC (rev 22668)
@@ -74,8 +74,8 @@
query.descend("id").constrain(id);
ObjectSet<Identity> result = query.execute();
- if(result.size() == 0) throw new
UnknownIdentityException(id.toString());
- if(result.size() > 1) throw new
DuplicateIdentityException(id.toString());
+ if(result.size() == 0) throw new UnknownIdentityException(id);
+ if(result.size() > 1) throw new DuplicateIdentityException(id);
return result.next();
}