Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

removed warnings

orbiter0d8072aa9962
diff --git a/htroot/api/linkstructure.java b/htroot/api/linkstructure.java
index 402450420..2f98e2e48 100644
--- a/htroot/api/linkstructure.java
+++ b/htroot/api/linkstructure.java
@@ -75,8 +75,7 @@ public class linkstructure {
// get link structure between two links
DigestURL to = new DigestURL(post.get("to", null), null); // must be an url
DigestURL from = post.get("from", null) == null ? null : new DigestURL(post.get("from", null)); // can be null or must be an url
- ReferenceReportCache rrc = sb.index.getReferenceReportCache();
- hlg.path(sb.index, rrc, from, to, maxtime, maxnodes);
+ hlg.path(sb.index, from, to, maxtime, maxnodes);
} catch (final MalformedURLException e) {}
// finally just write out the edge array
diff --git a/source/net/yacy/search/schema/HyperlinkGraph.java b/source/net/yacy/search/schema/HyperlinkGraph.java
index 7ec870589..33e2c1936 100644
--- a/source/net/yacy/search/schema/HyperlinkGraph.java
+++ b/source/net/yacy/search/schema/HyperlinkGraph.java
@@ -36,7 +36,6 @@ import net.yacy.cora.federate.solr.connector.SolrConnector;
import net.yacy.cora.util.ConcurrentLog;
import net.yacy.kelondro.data.meta.URIMetadataNode;
import net.yacy.search.index.Segment;
-import net.yacy.search.index.Segment.ReferenceReportCache;
import org.apache.solr.common.SolrDocument;
@@ -142,7 +141,7 @@ public class HyperlinkGraph implements Iterable<HyperlinkEdge> {
this.edges.addAll(errorEdges);
}
- public void path(final Segment segment, ReferenceReportCache rrc, DigestURL from, DigestURL to, final int maxtime, final int maxnodes) {
+ public void path(final Segment segment, DigestURL from, DigestURL to, final int maxtime, final int maxnodes) {
// two steps to find the graph: (1) create a HyperlinkGraph (to-down) and (2) backtrack backlinks up to an element of the graph (bottom-up)
if (this.edges.size() == 0) {
fill(segment.fulltext().getDefaultConnector(), from == null ? to.getHost() : from.getHost(), to, maxtime, maxnodes);