Author: toad
Date: 2007-06-28 13:57:14 +0000 (Thu, 28 Jun 2007)
New Revision: 13803

Modified:
   trunk/freenet/src/freenet/node/FailureTableEntry.java
Log:
Remove unnecessary check

Modified: trunk/freenet/src/freenet/node/FailureTableEntry.java
===================================================================
--- trunk/freenet/src/freenet/node/FailureTableEntry.java       2007-06-28 
13:48:31 UTC (rev 13802)
+++ trunk/freenet/src/freenet/node/FailureTableEntry.java       2007-06-28 
13:57:14 UTC (rev 13803)
@@ -118,7 +118,7 @@
                for(int i=ptr;i<requestors.length;i++) requestors[i] = null;
                if(notIncluded == 0 && nulls == 0) return;
                // Because weak, these can become null; doesn't matter, but we 
want to minimise memory usage
-               if(notIncluded == nulls && notIncluded > 0) {
+               if(notIncluded == nulls) {
                        // Nice special case
                        int x = 0;
                        for(int i=0;i<requestorNodes.length;i++) {
@@ -213,7 +213,7 @@
                for(int i=ptr;i<requestedFrom.length;i++) requestedFrom[i] = 
null;
                if(notIncluded == 0 && nulls == 0) return;
                // Because weak, these can become null; doesn't matter, but we 
want to minimise memory usage
-               if(notIncluded == nulls && notIncluded > 0) {
+               if(notIncluded == nulls) {
                        // Nice special case
                        int x = 0;
                        for(int i=0;i<requestedNodes.length;i++) {


Reply via email to