Redundant initialization
This commit is contained in:
parent
5f7b0aae06
commit
4424c425a6
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ public class RSATokenVerifier {
|
|||
}
|
||||
if (!verified) throw new VerificationException("Token signature not validated");
|
||||
|
||||
AccessToken token = null;
|
||||
AccessToken token;
|
||||
try {
|
||||
token = input.readJsonContent(AccessToken.class);
|
||||
} catch (IOException e) {
|
||||
|
|
|
@ -19,7 +19,7 @@ public final class StreamUtil {
|
|||
char[] buffer = new char[1024];
|
||||
StringBuilder builder = new StringBuilder();
|
||||
BufferedReader reader = new BufferedReader(new InputStreamReader(in));
|
||||
int wasRead = 0;
|
||||
int wasRead;
|
||||
do
|
||||
{
|
||||
wasRead = reader.read(buffer, 0, 1024);
|
||||
|
|
Loading…
Reference in a new issue