8286773: cleanup @returns in sun.security classes

Reviewed-by: xuelei
This commit is contained in:
John Jiang 2022-05-14 21:52:22 +00:00
parent af24d2d1d6
commit 63bd3b7728
2 changed files with 4 additions and 4 deletions

View file

@ -299,7 +299,7 @@ public class DerValue {
*
* @param tag the tag
* @param out the DerOutputStream
* @returns a new DerValue using out as its content
* @return a new DerValue using out as its content
*/
public static DerValue wrap(byte tag, DerOutputStream out) {
return new DerValue(tag, out.buf(), 0, out.size(), false);
@ -311,7 +311,7 @@ public class DerValue {
* Attention: no cloning is made.
*
* @param buf the byte array containing the DER-encoded datum
* @returns a new DerValue
* @return a new DerValue
*/
public static DerValue wrap(byte[] buf)
throws IOException {
@ -326,7 +326,7 @@ public class DerValue {
* @param buf the byte array containing the DER-encoded datum
* @param offset where the encoded datum starts inside {@code buf}
* @param len length of bytes to parse inside {@code buf}
* @returns a new DerValue
* @return a new DerValue
*/
public static DerValue wrap(byte[] buf, int offset, int len)
throws IOException {