Author: j16sdiz
Date: 2008-09-07 09:08:35 +0000 (Sun, 07 Sep 2008)
New Revision: 22510
Modified:
trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
Log:
unused field
Modified: trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
===================================================================
--- trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
2008-09-07 09:07:55 UTC (rev 22509)
+++ trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
2008-09-07 09:08:35 UTC (rev 22510)
@@ -71,13 +71,9 @@
private final StoreCallback callback;
private final boolean collisionPossible;
private final int headerBlockLength;
- @SuppressWarnings("unused")
- private final int routeKeyLength;
private final int fullKeyLength;
private final int dataBlockLength;
private final Random random;
- @SuppressWarnings("unused")
- private UserAlertManager userAlertManager;
private long storeSize;
private int generation;
@@ -100,7 +96,6 @@
this.callback = callback;
collisionPossible = callback.collisionPossible();
- routeKeyLength = callback.routingKeyLength();
headerBlockLength = callback.headerLength();
fullKeyLength = callback.fullKeyLength();
dataBlockLength = callback.dataLength();
@@ -1430,8 +1425,6 @@
public void setUserAlertManager(UserAlertManager userAlertManager) {
if (cleanerStatusUserAlert != null)
userAlertManager.register(cleanerStatusUserAlert);
- // TODO change useralertmanager? is this a valid case?
- this.userAlertManager = userAlertManager;
}
public void setMaxKeys(long newStoreSize, boolean shrinkNow) throws
IOException {