Author: toad
Date: 2008-06-26 17:13:12 +0000 (Thu, 26 Jun 2008)
New Revision: 20760

Modified:
   branches/db4o/freenet/src/freenet/support/SectoredRandomGrabArray.java
Log:
Don't log the value, it may not be fully activated yet

Modified: branches/db4o/freenet/src/freenet/support/SectoredRandomGrabArray.java
===================================================================
--- branches/db4o/freenet/src/freenet/support/SectoredRandomGrabArray.java      
2008-06-26 17:09:46 UTC (rev 20759)
+++ branches/db4o/freenet/src/freenet/support/SectoredRandomGrabArray.java      
2008-06-26 17:13:12 UTC (rev 20760)
@@ -112,7 +112,7 @@
                                                container.set(this);
                                }
                                if(logMINOR)
-                                       Logger.minor(this, "Returning (one item 
only) "+item+" for "+rga+" for "+rga.getObject());
+                                       Logger.minor(this, "Returning (one item 
only) "+item.getClass()+" for "+rga+" for "+rga.getObject());
                                return item;
                        }
                        if(grabArrays.length == 2) {
@@ -146,13 +146,13 @@
                                                container.deactivate(firstRGA, 
1);
                                        }
                                        if(logMINOR)
-                                               Logger.minor(this, "Returning 
(two items only) "+item+" for "+rga+" for "+rga.getObject());
+                                               Logger.minor(this, "Returning 
(two items only) "+item.getClass()+" for "+rga+" for "+rga.getObject());
                                        return item;
                                } else {
                                        if(persistent)
                                                container.deactivate(rga, 1);
                                        if(logMINOR)
-                                               Logger.minor(this, "Returning 
(two items only) "+item+" for "+rga+" for "+rga.getObject());
+                                               Logger.minor(this, "Returning 
(two items only) "+item.getClass()+" for "+rga+" for "+rga.getObject());
                                        return item;
                                }
                        }


Reply via email to