Skip to content

Commit

Permalink
remove unused md5 from ViewFile servlet params
Browse files Browse the repository at this point in the history
  • Loading branch information
reger committed Nov 28, 2015
1 parent e163ea8 commit 1160b13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions htroot/ViewFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,6 @@ public static serverObjects respond(final RequestHeader header, final serverObje
prop.putHTML("error_dc_creator", "");
prop.putHTML("error_dc_publisher", "");
prop.putHTML("error_dc_subject", "");
prop.put("error_md5", "");
prop.put("error_lat", "");
prop.put("error_lon", "");
prop.put("error_language", "");
Expand All @@ -424,7 +423,6 @@ public static serverObjects respond(final RequestHeader header, final serverObje
prop.putHTML("error_dc_creator", urlEntry.dc_creator());
prop.putHTML("error_dc_publisher", urlEntry.dc_publisher());
prop.putHTML("error_dc_subject", urlEntry.dc_subject());
prop.put("error_md5", urlEntry.md5());
prop.put("error_lat", urlEntry.lat());
prop.put("error_lon", urlEntry.lon());
prop.put("error_language", urlEntry.language());
Expand Down
4 changes: 4 additions & 0 deletions source/net/yacy/kelondro/data/meta/URIMetadataNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,10 @@ public Date freshdate() {
return x;
}

/**
* @deprecated obsolete, never assigned a value
*/
@Deprecated
public String md5() {
return getString(CollectionSchema.md5_s);
}
Expand Down

0 comments on commit 1160b13

Please sign in to comment.