Updated file test
Some checks failed
Locusworks Team/commons/pipeline/head There was a failure building this commit
Some checks failed
Locusworks Team/commons/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -89,7 +89,7 @@ public class KeyFile implements AutoCloseable {
|
||||
try {
|
||||
this.key = ksh.isPrivate() ? kf.generatePrivateKey(ksh.getKeySpec()) : kf.generatePublicKey(ksh.getKeySpec());
|
||||
this.encryptionType = ksh.getEncryptionType();
|
||||
return;
|
||||
break;
|
||||
} catch (NullPointerException | InvalidKeySpecException ikse) { continue; }
|
||||
}
|
||||
|
||||
|
@@ -20,7 +20,7 @@ import net.locusworks.common.interfaces.AutoCloseableIterator;
|
||||
* @version 1.0.0
|
||||
* @date 02/15/2018
|
||||
*/
|
||||
public class FileReader implements AutoCloseableIterator<FileReader.LineInfo>, Iterable<FileReader.LineInfo> {
|
||||
public class FileReader implements AutoCloseableIterator<FileReader.LineInfo>, Iterable<FileReader.LineInfo>, AutoCloseable {
|
||||
|
||||
private BufferedReader reader;
|
||||
private LineInfo info;
|
||||
|
Reference in New Issue
Block a user