8322734: A redundant return in method padWithLen

Reviewed-by: jiefu
This commit is contained in:
John Jiang 2023-12-27 02:31:50 +00:00
parent 4fc6b0ffa4
commit 2a59243cba
2 changed files with 0 additions and 2 deletions

View File

@ -74,7 +74,6 @@ final class ISO10126Padding implements Padding {
SunJCE.getRandom().nextBytes(padding);
System.arraycopy(padding, 0, in, off, len - 1);
in[idx - 1] = paddingOctet;
return;
}
/**

View File

@ -71,7 +71,6 @@ final class PKCS5Padding implements Padding {
byte paddingOctet = (byte) (len & 0xff);
Arrays.fill(in, off, idx, paddingOctet);
return;
}
/**