Skip to content

Commit

Permalink
Fixed partial download test with new API.
Browse files Browse the repository at this point in the history
  • Loading branch information
aldenml committed Feb 26, 2015
1 parent d9d7569 commit 874ee75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/frostwire/jlibtorrent/demo/PartialDownload2.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void alert(Alert<?> alert) {
break;
case FILE_COMPLETED:
FileCompletedAlert fca = (FileCompletedAlert) ta;
System.out.println("File finished: " + th.getTorrentInfo().getFileAt(fca.getIndex()).getPath());
System.out.println("File finished: " + th.getTorrentInfo().getFiles().getFilePath(fca.getIndex()));
s1.countDown();
s2.countDown();
break;
Expand Down

0 comments on commit 874ee75

Please sign in to comment.