Skip to content

Commit d5831ed

Browse files
PeyaPeyaPeyangwangweij
authored andcommitted
8357880: Code formatting typo in Cipher.getMaxAllowedParameterSpec
Reviewed-by: fandreuzzi, mullan
1 parent 1357be9 commit d5831ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/java.base/share/classes/javax/crypto/Cipher.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ protected Cipher(CipherSpi cipherSpi,
263263
}
264264

265265
/**
266-
* Creates a {code Cipher} object. Called internally by {code NullCipher}.
266+
* Creates a {@code Cipher} object. Called internally by {@code NullCipher}.
267267
*
268268
* @param cipherSpi the delegate
269269
* @param transformation the transformation
@@ -2690,15 +2690,15 @@ public static final int getMaxAllowedKeyLength(String transformation)
26902690
}
26912691

26922692
/**
2693-
* Returns an {code AlgorithmParameterSpec} object which contains
2693+
* Returns an {@code AlgorithmParameterSpec} object which contains
26942694
* the maximum {@code Cipher} parameter value according to the
26952695
* jurisdiction policy file. If JCE unlimited strength jurisdiction
26962696
* policy files are installed or there is no maximum limit on the
26972697
* parameters for the specified transformation in the policy file,
26982698
* {@code null} will be returned.
26992699
*
27002700
* @param transformation the cipher transformation
2701-
* @return an {code AlgorithmParameterSpec} object which holds the maximum
2701+
* @return an {@code AlgorithmParameterSpec} object which holds the maximum
27022702
* value or {@code null}
27032703
* @throws NullPointerException if {@code transformation}
27042704
* is {@code null}

0 commit comments

Comments
 (0)