--- old/src/java.base/share/classes/javax/crypto/spec/RC2ParameterSpec.java 2015-08-18 14:21:05.021018785 +0400 +++ new/src/java.base/share/classes/javax/crypto/spec/RC2ParameterSpec.java 2015-08-18 14:21:04.797018795 +0400 @@ -35,7 +35,7 @@ *
The parameters consist of an effective key size and optionally * an 8-byte initialization vector (IV) (only in feedback mode). * - *
This class can be used to initialize a Cipher
object that
+ *
This class can be used to initialize a {@code Cipher} object that * implements the RC2 algorithm. * * @author Jan Luehe @@ -62,12 +62,12 @@ * (in bits) and an 8-byte IV. * *
The bytes that constitute the IV are those between
- * iv[0]
and iv[7]
inclusive.
+ * {@code iv[0]} and {@code iv[7]} inclusive.
*
* @param effectiveKeyBits the effective key size in bits.
* @param iv the buffer with the 8-byte IV. The first 8 bytes of
* the buffer are copied to protect against subsequent modification.
- * @exception IllegalArgumentException if iv
is null.
+ * @exception IllegalArgumentException if {@code iv} is null.
*/
public RC2ParameterSpec(int effectiveKeyBits, byte[] iv) {
this(effectiveKeyBits, iv, 0);
@@ -77,18 +77,18 @@
* Constructs a parameter set for RC2 from the given effective key size
* (in bits) and IV.
*
- *
The IV is taken from iv
, starting at
- * offset
inclusive.
+ *
The IV is taken from {@code iv}, starting at
+ * {@code offset} inclusive.
* The bytes that constitute the IV are those between
- * iv[offset]
and iv[offset+7]
inclusive.
+ * {@code iv[offset]} and {@code iv[offset+7]} inclusive.
*
* @param effectiveKeyBits the effective key size in bits.
* @param iv the buffer with the IV. The first 8 bytes
- * of the buffer beginning at offset
inclusive
+ * of the buffer beginning at {@code offset} inclusive
* are copied to protect against subsequent modification.
- * @param offset the offset in iv
where the 8-byte IV
+ * @param offset the offset in {@code iv} where the 8-byte IV
* starts.
- * @exception IllegalArgumentException if iv
is null.
+ * @exception IllegalArgumentException if {@code iv} is null.
*/
public RC2ParameterSpec(int effectiveKeyBits, byte[] iv, int offset) {
this.effectiveKeyBits = effectiveKeyBits;
@@ -124,12 +124,12 @@
* Tests for equality between the specified object and this
* object. Two RC2ParameterSpec objects are considered equal if their
* effective key sizes and IVs are equal.
- * (Two IV references are considered equal if both are null.)
+ * (Two IV references are considered equal if both are {@code null}.)
*
* @param obj the object to test for equality with this object.
*
* @return true if the objects are considered equal, false if
- * obj
is null or otherwise.
+ * {@code obj} is null or otherwise.
*/
public boolean equals(Object obj) {
if (obj == this) {