Author: toad
Date: 2008-06-26 17:14:03 +0000 (Thu, 26 Jun 2008)
New Revision: 20761

Modified:
   branches/db4o/freenet/src/freenet/support/RandomGrabArray.java
Log:
Likewise

Modified: branches/db4o/freenet/src/freenet/support/RandomGrabArray.java
===================================================================
--- branches/db4o/freenet/src/freenet/support/RandomGrabArray.java      
2008-06-26 17:13:12 UTC (rev 20760)
+++ branches/db4o/freenet/src/freenet/support/RandomGrabArray.java      
2008-06-26 17:14:03 UTC (rev 20761)
@@ -143,7 +143,7 @@
                                                                index--;
                                                                
ret.setParentGrabArray(null, container);
                                                        }
-                                                       if(logMINOR) 
Logger.minor(this, "Chosen random item "+ret+" out of "+valid);
+                                                       if(logMINOR) 
Logger.minor(this, "Chosen random item "+ret.getClass()+" out of "+valid);
                                                        if(persistent && 
changedMe)
                                                                
container.set(this);
                                                        return ret;
@@ -213,7 +213,7 @@
                                        continue;
                                }
                                if(ret != null && !ret.canRemove(container)) {
-                                       if(logMINOR) Logger.minor(this, 
"Returning (cannot remove): "+ret+" of "+index);
+                                       if(logMINOR) Logger.minor(this, 
"Returning (cannot remove): "+ret.getClass()+" of "+index);
                                        if(persistent && changedMe)
                                                container.set(this);
                                        return ret;
@@ -242,7 +242,7 @@
                                if(ret != null) break;
                        }
                }
-               if(logMINOR) Logger.minor(this, "Returning "+ret+" of "+index);
+               if(logMINOR) Logger.minor(this, "Returning "+ret.getClass()+" 
of "+index);
                ret.setParentGrabArray(null, container);
                if(persistent)
                        container.set(this);


Reply via email to