Skip to content

Commit

Permalink
8322734: A redundant return in method padWithLen
Browse files Browse the repository at this point in the history
Reviewed-by: jiefu
  • Loading branch information
John Jiang committed Dec 27, 2023
1 parent 4fc6b0f commit 2a59243
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ public void padWithLen(byte[] in, int off, int len)
SunJCE.getRandom().nextBytes(padding);
System.arraycopy(padding, 0, in, off, len - 1);
in[idx - 1] = paddingOctet;
return;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ public void padWithLen(byte[] in, int off, int len)

byte paddingOctet = (byte) (len & 0xff);
Arrays.fill(in, off, idx, paddingOctet);
return;
}

/**
Expand Down

0 comments on commit 2a59243

Please sign in to comment.