commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r795892 - in /commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/translate: UnicodeEscaper.java UnicodeUnescaper.java
Date Mon, 20 Jul 2009 16:12:54 GMT
Author: bayard
Date: Mon Jul 20 16:12:53 2009
New Revision: 795892

URL: http://svn.apache.org/viewvc?rev=795892&view=rev
Log:
Updating TODOs

Modified:
    commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/translate/UnicodeEscaper.java
    commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/translate/UnicodeUnescaper.java

Modified: commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/translate/UnicodeEscaper.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/translate/UnicodeEscaper.java?rev=795892&r1=795891&r2=795892&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/translate/UnicodeEscaper.java
(original)
+++ commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/translate/UnicodeEscaper.java
Mon Jul 20 16:12:53 2009
@@ -66,7 +66,6 @@
             }
         }
 
-        // TODO: Handle multiple u's per Java spec
         // TODO: Handle potential + sign per various unicode escape implementations
         if (codepoint > 0xffff) {
             // TODO: Figure out what to do. Output as two unicodes?

Modified: commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/translate/UnicodeUnescaper.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/translate/UnicodeUnescaper.java?rev=795892&r1=795891&r2=795892&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/translate/UnicodeUnescaper.java
(original)
+++ commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/translate/UnicodeUnescaper.java
Mon Jul 20 16:12:53 2009
@@ -31,6 +31,7 @@
     /**
      * {@inheritDoc}
      */
+    // TODO: Handle \\u+0045 variant
     public int translate(CharSequence input, int index, Writer out) throws IOException {
         if(input.charAt(index) == '\\') {
             if( (index + 1 < input.length()) && input.charAt(index + 1) == 'u')
{



Mime
View raw message