Skip to content

Commit

Permalink
Disabled packs hash calculation!
Browse files Browse the repository at this point in the history
It should be calculated at packs downloading.
  • Loading branch information
asheb committed Sep 24, 2008
1 parent 7d62bb1 commit b1b8ec4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ public Collection<File> getLocalFiles(Collection<Request> requests) throws IOExc
for (Request request : requests) {
FileState state = stateOf(request.url());

/* //!
if (!request.hash().equals(state.hash()))
throw new AssertionError("Requested file is invalid and should be redownloaded before.");

*/

files.add(state.getLocalFile());
}
return files;
Expand Down

0 comments on commit b1b8ec4

Please sign in to comment.