Author: batosai
Date: 2008-08-05 18:23:32 +0000 (Tue, 05 Aug 2008)
New Revision: 21625

Modified:
   trunk/apps/WoT/src/plugins/WoT/WoT.java
Log:
More human-readable.

Modified: trunk/apps/WoT/src/plugins/WoT/WoT.java
===================================================================
--- trunk/apps/WoT/src/plugins/WoT/WoT.java     2008-08-05 18:06:48 UTC (rev 
21624)
+++ trunk/apps/WoT/src/plugins/WoT/WoT.java     2008-08-05 18:23:32 UTC (rev 
21625)
@@ -117,7 +117,7 @@

                        if(trusterScore.getCapacity() > 0) { // If the truster 
has capacity
                                newScore += trusterScore.getCapacity() * 
trusterTrust.getValue() / 100; // We update the trustee's score
-                               if(newRank == -1 || newRank > 
trusterScore.getRank()) // We store the lowest truster's rank (but not -1) 
+                               if(newRank == -1 || trusterScore.getRank() < 
newRank) // We store the lowest truster's rank (but not -1) 
                                        newRank = trusterScore.getRank();
                        }
                }


Reply via email to