commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1448287 - in /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate: JavaUnicodeEscaper.java UnicodeEscaper.java
Date Wed, 20 Feb 2013 16:47:42 GMT
Author: tn
Date: Wed Feb 20 16:47:42 2013
New Revision: 1448287

URL: http://svn.apache.org/r1448287
Log:
Add missing javadoc.

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/JavaUnicodeEscaper.java
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/UnicodeEscaper.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/JavaUnicodeEscaper.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/JavaUnicodeEscaper.java?rev=1448287&r1=1448286&r2=1448287&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/JavaUnicodeEscaper.java
(original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/JavaUnicodeEscaper.java
Wed Feb 20 16:47:42 2013
@@ -85,8 +85,9 @@ public class JavaUnicodeEscaper extends 
     /**
      * Converts the given codepoint to a hex string of the form {@code "\\uXXXX\\uXXXX"}
      * 
-     * @param codePoint
+     * @param codepoint
      *            a Unicode code point
+     * @return the hex string for the given codepoint
      */
     @Override
     protected String toUtf16Escape(final int codepoint) {

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/UnicodeEscaper.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/UnicodeEscaper.java?rev=1448287&r1=1448286&r2=1448287&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/UnicodeEscaper.java
(original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/UnicodeEscaper.java
Wed Feb 20 16:47:42 2013
@@ -126,6 +126,13 @@ public class UnicodeEscaper extends Code
         return true;
     }
 
+    /**
+     * Converts the given codepoint to a hex string of the form {@code "\\uXXXX"}
+     * 
+     * @param codepoint
+     *            a Unicode code point
+     * @return the hex string for the given codepoint
+     */
     protected String toUtf16Escape(final int codepoint) {
         return "\\u" + hex(codepoint);
     }



Mime
View raw message