Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix one implicit Integer/Long type conversion -> causes Java 1.8 compile error
regerf91298d3b645
diff --git a/source/net/yacy/search/schema/CollectionConfiguration.java b/source/net/yacy/search/schema/CollectionConfiguration.javaindex 502555c13..04b6a7884 100644--- a/source/net/yacy/search/schema/CollectionConfiguration.java+++ b/source/net/yacy/search/schema/CollectionConfiguration.java@@ -1668,7 +1668,7 @@ public class CollectionConfiguration extends SchemaConfiguration implements Serisid.setField(CollectionSchema.references_exthosts_i.getSolrFieldName(), rr.getExternalHostIDs().size());change = true;}- Long hostExtent = hostExtentCount == null ? Integer.MAX_VALUE : hostExtentCount.get(url.hosthash());+ Long hostExtent = hostExtentCount == null ? Long.MAX_VALUE : hostExtentCount.get(url.hosthash());if (this.contains(CollectionSchema.host_extent_i) &&(hostextc_old == null || hostextc_old.intValue() != hostExtent)) {sid.setField(CollectionSchema.host_extent_i.getSolrFieldName(), hostExtent.intValue());