Author: batosai
Date: 2008-08-15 20:54:01 +0000 (Fri, 15 Aug 2008)
New Revision: 21921

Modified:
   trunk/apps/WoT/src/plugins/WoT/WoT.java
Log:
Doh !

Modified: trunk/apps/WoT/src/plugins/WoT/WoT.java
===================================================================
--- trunk/apps/WoT/src/plugins/WoT/WoT.java     2008-08-15 20:28:52 UTC (rev 
21920)
+++ trunk/apps/WoT/src/plugins/WoT/WoT.java     2008-08-15 20:54:01 UTC (rev 
21921)
@@ -256,8 +256,8 @@
                return query.execute();
        }

-       public ObjectSet<Trust> getTrusters (String identity) throws 
Db4oIOException, DatabaseClosedException, MalformedURLException, 
InvalidParameterException, UnknownIdentityException { 
-               return getTrusters(identity);
+       public ObjectSet<Trust> getTrusters (String identity) throws 
Db4oIOException, DatabaseClosedException, MalformedURLException, 
InvalidParameterException, UnknownIdentityException {
+               return getTrusters(getIdentityByURI(identity));
        }

        private ObjectSet<Trust> getTrusters (Identity identity) throws 
Db4oIOException, DatabaseClosedException, InvalidParameterException {
@@ -265,7 +265,7 @@
        }

        public ObjectSet<Trust> getTrustees (String identity) throws 
Db4oIOException, DatabaseClosedException, MalformedURLException, 
InvalidParameterException, UnknownIdentityException { 
-               return getTrustees(identity);
+               return getTrustees(getIdentityByURI(identity));
        }

        private ObjectSet<Trust> getTrustees (Identity identity) throws 
Db4oIOException, DatabaseClosedException, InvalidParameterException { 


Reply via email to