diff --git a/router/java/src/net/i2p/router/dummy/DummyNetworkDatabaseFacade.java b/router/java/src/net/i2p/router/dummy/DummyNetworkDatabaseFacade.java index 52de05923e..8a2004056b 100644 --- a/router/java/src/net/i2p/router/dummy/DummyNetworkDatabaseFacade.java +++ b/router/java/src/net/i2p/router/dummy/DummyNetworkDatabaseFacade.java @@ -90,11 +90,6 @@ public void fail(Hash dbEntry) { public Set getAllRouters() { return new HashSet(_routers.keySet()); } public Set findNearestRouters(Hash key, int maxNumRouters, Set peersToIgnore) { return getAllRouters(); } - @Override - public LeaseSet lookupLeaseSetHashIsClient(Hash key) { - throw new UnsupportedOperationException("Unimplemented method 'lookupLeaseSetHashIsClient'"); - } - @Override public FloodfillNetworkDatabaseFacade mainNetDB() { return _fndb; diff --git a/router/java/src/net/i2p/router/networkdb/kademlia/FloodfillNetworkDatabaseSegmentor.java b/router/java/src/net/i2p/router/networkdb/kademlia/FloodfillNetworkDatabaseSegmentor.java index 69e8744366..17e8c7e917 100644 --- a/router/java/src/net/i2p/router/networkdb/kademlia/FloodfillNetworkDatabaseSegmentor.java +++ b/router/java/src/net/i2p/router/networkdb/kademlia/FloodfillNetworkDatabaseSegmentor.java @@ -155,43 +155,6 @@ public List getFloodfillPeers() { return peers; } - /** - * Lookup using the client's tunnels when the client LS key is know - * but the client dbid is not. - * - * @param key The LS key for client. - * @return may be null - * @since 0.9.60 - */ - @Override - public LeaseSet lookupLeaseSetHashIsClient(Hash key) { - return lookupLeaseSetLocally(key, null); - } - - /** - * Lookup using the client's tunnels when the client LS key is known. - * if a DBID is not provided, the clients will all be checked, and the - * first value will be used. - * - * @return may be null - * @since 0.9.60 - */ - //@Override - protected LeaseSet lookupLeaseSetLocally(Hash key, Hash dbid) { - if (_log.shouldLog(Log.DEBUG)) - _log.debug("lookupLeaseSetLocally on all subDbs: " + key.toBase32()); - if (dbid == null) { - LeaseSet rv = null; - for (FloodfillNetworkDatabaseFacade subdb : getClientSubNetDBs()) { - rv = subdb.lookupLeaseSetLocally(key); - if (rv != null) { - return rv; - } - } - } - return this.getSubNetDB(dbid).lookupLeaseSetLocally(key); - } - /** * Check if all of the known subDbs are initialized * diff --git a/router/java/src/net/i2p/router/networkdb/kademlia/SegmentedNetworkDatabaseFacade.java b/router/java/src/net/i2p/router/networkdb/kademlia/SegmentedNetworkDatabaseFacade.java index 46bc86d834..7d0f1d76fa 100644 --- a/router/java/src/net/i2p/router/networkdb/kademlia/SegmentedNetworkDatabaseFacade.java +++ b/router/java/src/net/i2p/router/networkdb/kademlia/SegmentedNetworkDatabaseFacade.java @@ -113,13 +113,6 @@ public boolean useSubDbs() { * @since 0.9.60 */ public abstract void startup(); - /** - * Lookup the leaseSet for a given key in only client dbs. - * - * @return may be null - * @since 0.9.60 - */ - public abstract LeaseSet lookupLeaseSetHashIsClient(Hash key); /** * Get a set of all sub-netDbs. *