mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8284112: Minor cleanup could be done in javax.crypto
Reviewed-by: wetmore
This commit is contained in:
parent
897d6c0dc7
commit
41fc078323
37 changed files with 204 additions and 270 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -58,8 +58,7 @@ final class NullCipherSpi extends CipherSpi {
|
|||
}
|
||||
|
||||
protected byte[] engineGetIV() {
|
||||
byte[] x = new byte[8];
|
||||
return x;
|
||||
return new byte[8];
|
||||
}
|
||||
|
||||
protected AlgorithmParameters engineGetParameters() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue