Permalink
Browse files

remove obsolete lastmodified calculation in WebgraphConfig

  • Loading branch information...
reger24 committed Jan 17, 2017
1 parent 5c8958b commit 581b00cc20471e881cde099d11992ee8488f4728
Showing with 0 additions and 2 deletions.
  1. +0 −2 source/net/yacy/search/schema/WebgraphConfiguration.java
@@ -143,8 +143,6 @@ public SolrInputDocument getEdge(
add(edge, WebgraphSchema.target_order_i, target_order);
if (allAttr || contains(WebgraphSchema.load_date_dt)) {
Date loadDate = new Date();
Date modDate = responseHeader == null ? new Date() : responseHeader.lastModified();
if (modDate.getTime() > loadDate.getTime()) modDate = loadDate;
add(edge, WebgraphSchema.load_date_dt, loadDate);
}
if (allAttr || contains(WebgraphSchema.last_modified)) add(edge, WebgraphSchema.last_modified, responseHeader == null ? new Date() : responseHeader.lastModified());

0 comments on commit 581b00c

Please sign in to comment.