Description
Here is related code:
Reader reader = new FileReader(signatureSecretFile); int c = reader.read(); while (c > -1) { secret.append((char) c); c = reader.read(); } reader.close();
If IOException is thrown out of reader.read(), reader would be left unclosed.