mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8259291: Cleanup unnecessary local variables
Reviewed-by: mullan
This commit is contained in:
parent
d20d2fa957
commit
df721f0c69
6 changed files with 12 additions and 20 deletions
|
@ -265,8 +265,7 @@ final class Finished {
|
|||
"Invalid PRF output, format must be RAW. " +
|
||||
"Format received: " + prfKey.getFormat());
|
||||
}
|
||||
byte[] finished = prfKey.getEncoded();
|
||||
return finished;
|
||||
return prfKey.getEncoded();
|
||||
} catch (GeneralSecurityException e) {
|
||||
throw new RuntimeException("PRF failed", e);
|
||||
}
|
||||
|
@ -317,8 +316,7 @@ final class Finished {
|
|||
"Invalid PRF output, format must be RAW. " +
|
||||
"Format received: " + prfKey.getFormat());
|
||||
}
|
||||
byte[] finished = prfKey.getEncoded();
|
||||
return finished;
|
||||
return prfKey.getEncoded();
|
||||
} catch (GeneralSecurityException e) {
|
||||
throw new RuntimeException("PRF failed", e);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue