Updating TODOs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@795892 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
be336df54a
commit
d0e667d278
|
@ -66,7 +66,6 @@ public boolean translate(int codepoint, Writer out) throws IOException {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Handle multiple u's per Java spec
|
|
||||||
// TODO: Handle potential + sign per various unicode escape implementations
|
// TODO: Handle potential + sign per various unicode escape implementations
|
||||||
if (codepoint > 0xffff) {
|
if (codepoint > 0xffff) {
|
||||||
// TODO: Figure out what to do. Output as two unicodes?
|
// TODO: Figure out what to do. Output as two unicodes?
|
||||||
|
|
|
@ -31,6 +31,7 @@ public class UnicodeUnescaper extends CharSequenceTranslator {
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
|
// TODO: Handle \\u+0045 variant
|
||||||
public int translate(CharSequence input, int index, Writer out) throws IOException {
|
public int translate(CharSequence input, int index, Writer out) throws IOException {
|
||||||
if(input.charAt(index) == '\\') {
|
if(input.charAt(index) == '\\') {
|
||||||
if( (index + 1 < input.length()) && input.charAt(index + 1) == 'u') {
|
if( (index + 1 < input.length()) && input.charAt(index + 1) == 'u') {
|
||||||
|
|
Loading…
Reference in New Issue