Author: toad
Date: 2008-09-23 17:36:12 +0000 (Tue, 23 Sep 2008)
New Revision: 22777
Modified:
trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
Log:
Logging it during a resize is normal. Logging it outside of a resize indicates
a problem. So invert the log condition.
Modified: trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
===================================================================
--- trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
2008-09-23 17:30:44 UTC (rev 22776)
+++ trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
2008-09-23 17:36:12 UTC (rev 22777)
@@ -249,7 +249,7 @@
if (entry != null)
return entry;
} catch (EOFException e) {
- if (prevStoreSize != 0) // may occur on store
shrinking
+ if (prevStoreSize == 0) // may occur on store
shrinking
Logger.error(this, "EOFException on
probeEntry", e);
continue;
}