--- old/src/java.base/share/classes/javax/crypto/spec/RC5ParameterSpec.java 2015-08-18 14:21:05.581018760 +0400 +++ new/src/java.base/share/classes/javax/crypto/spec/RC5ParameterSpec.java 2015-08-18 14:21:05.369018769 +0400 @@ -35,7 +35,7 @@ *
The parameters consist of a version number, a rounds count, a word * size, and optionally an 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 RC5 algorithm as supplied by * RSA Security LLC, * or any parties authorized by RSA Security. @@ -71,16 +71,16 @@ * *
Note that the size of the IV (block size) must be twice the word
* size. The bytes that constitute the IV are those between
- * iv[0]
and iv[2*(wordSize/8)-1]
inclusive.
+ * {@code iv[0]} and {@code iv[2*(wordSize/8)-1]} inclusive.
*
* @param version the version.
* @param rounds the number of rounds.
* @param wordSize the word size in bits.
- * @param iv the buffer with the IV. The first 2*(wordSize/8)
- *
bytes of the buffer are copied to protect against subsequent
+ * @param iv the buffer with the IV. The first {@code 2*(wordSize/8)
+ * } bytes of the buffer are copied to protect against subsequent
* modification.
- * @exception IllegalArgumentException if iv
is
- * null
or {@code (iv.length < 2 * (wordSize / 8))}
+ * @exception IllegalArgumentException if {@code iv} is
+ * {@code null} or {@code (iv.length < 2 * (wordSize / 8))}
*/
public RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) {
this(version, rounds, wordSize, iv, 0);
@@ -90,23 +90,23 @@
* Constructs a parameter set for RC5 from the given version, number of
* rounds, word 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.
* Note that the size of the IV (block size), starting at
- * offset
inclusive, must be twice the word size.
+ * {@code offset} inclusive, must be twice the word size.
* The bytes that constitute the IV are those between
- * iv[offset]
and iv[offset+2*(wordSize/8)-1]
+ * {@code iv[offset]} and {@code iv[offset+2*(wordSize/8)-1]}
* inclusive.
*
* @param version the version.
* @param rounds the number of rounds.
* @param wordSize the word size in bits.
- * @param iv the buffer with the IV. The first 2*(wordSize/8)
- *
bytes of the buffer beginning at offset
+ * @param iv the buffer with the IV. The first {@code 2*(wordSize/8)
+ * } bytes of the buffer beginning at {@code offset}
* inclusive are copied to protect against subsequent modification.
- * @param offset the offset in iv
where the IV starts.
- * @exception IllegalArgumentException if iv
is
- * null
or
+ * @param offset the offset in {@code iv} where the IV starts.
+ * @exception IllegalArgumentException if {@code iv} is
+ * {@code null} or
* {@code (iv.length - offset < 2 * (wordSize / 8))}
*/
public RC5ParameterSpec(int version, int rounds, int wordSize,
@@ -164,12 +164,12 @@
* Tests for equality between the specified object and this
* object. Two RC5ParameterSpec objects are considered equal if their
* version numbers, number of rounds, word 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) {