]> Pileus Git - ~andy/freeotp/blobdiff - src/org/fedorahosted/freeotp/TokenAdapter.java
Enable manual token entry
[~andy/freeotp] / src / org / fedorahosted / freeotp / TokenAdapter.java
index 56ceebc0b9a2221ed6d295d3f8ad08da0009109a..5ad331020169baef856311629abf9fcabfab8f47 100644 (file)
@@ -22,7 +22,6 @@
 
 package org.fedorahosted.freeotp;
 
-import java.security.NoSuchAlgorithmException;
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.Comparator;
@@ -200,7 +199,7 @@ public class TokenAdapter extends BaseAdapter {
                }
        }
 
-       public void add(Context ctx, String uri) throws NoSuchAlgorithmException, TokenUriInvalidException {
+       public void add(Context ctx, String uri) throws TokenUriInvalidException {
                Token t = new Token(uri);
                t.save(ctx);
                tokens.add(t);