You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by gg...@apache.org on 2004/10/20 03:37:54 UTC
cvs commit: jakarta-commons/codec/src/java/org/apache/commons/codec/binary Base64.java
ggregory 2004/10/19 18:37:54
Modified: codec/src/java/org/apache/commons/codec/language
Metaphone.java
codec/src/java/org/apache/commons/codec/binary Base64.java
Log:
Javadoc nits.
Revision Changes Path
1.22 +3 -3 jakarta-commons/codec/src/java/org/apache/commons/codec/language/Metaphone.java
Index: Metaphone.java
===================================================================
RCS file: /home/cvs/jakarta-commons/codec/src/java/org/apache/commons/codec/language/Metaphone.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- Metaphone.java 8 Oct 2004 22:56:22 -0000 1.21
+++ Metaphone.java 20 Oct 2004 01:37:54 -0000 1.22
@@ -377,8 +377,8 @@
*
* @param str1 First of two strings to compare
* @param str2 Second of two strings to compare
- * @return true if the metaphones of these strings are identical,
- * false otherwise.
+ * @return <code>true</code> if the metaphones of these strings are identical,
+ * <code>false</code> otherwise.
*/
public boolean isMetaphoneEqual(String str1, String str2) {
return metaphone(str1).equals(metaphone(str2));
1.21 +3 -3 jakarta-commons/codec/src/java/org/apache/commons/codec/binary/Base64.java
Index: Base64.java
===================================================================
RCS file: /home/cvs/jakarta-commons/codec/src/java/org/apache/commons/codec/binary/Base64.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- Base64.java 24 May 2004 00:21:24 -0000 1.20
+++ Base64.java 20 Oct 2004 01:37:54 -0000 1.21
@@ -146,7 +146,7 @@
* only valid characters within the Base64 alphabet.
*
* @param arrayOctect byte array to test
- * @return true if all bytes are valid characters in the Base64
+ * @return <code>true</code> if all bytes are valid characters in the Base64
* alphabet or if the byte array is empty; false, otherwise
*/
public static boolean isArrayByteBase64(byte[] arrayOctect) {
@@ -225,7 +225,7 @@
* chunking the output into 76 character blocks.
*
* @param binaryData Array containing binary data to encode.
- * @param isChunked if isChunked is true this encoder will chunk
+ * @param isChunked if <code>true</code> this encoder will chunk
* the base64 output into 76 character blocks
* @return Base64-encoded data.
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org