Skip to content

Commit

Permalink
added NoSuchAlgorithmException to Metafile constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Toilal committed Aug 23, 2012
1 parent cfe7ff4 commit 93c435b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/bitlet/wetorrent/Metafile.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ public class Metafile extends Bencode {
private String infoSha1Encoded;

/**
* Creates a new instance of Metafile
* Creates a new instance of Metafile
*/
public Metafile(InputStream is) throws IOException {
public Metafile(InputStream is) throws IOException, NoSuchAlgorithmException {
super(is);

rootDictionary = (SortedMap) getRootElement();
Expand Down

0 comments on commit 93c435b

Please sign in to comment.