8322734: A redundant return in method padWithLen
Reviewed-by: jiefu
This commit is contained in:
parent
4fc6b0ffa4
commit
2a59243cba
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -71,7 +71,6 @@ final class PKCS5Padding implements Padding {
|
||||
|
||||
byte paddingOctet = (byte) (len & 0xff);
|
||||
Arrays.fill(in, off, idx, paddingOctet);
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user