You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by rm...@apache.org on 2010/02/24 00:30:14 UTC

svn commit: r915588 - /lucene/java/branches/flex_1458/src/java/org/apache/lucene/util/UnicodeUtil.java

Author: rmuir
Date: Tue Feb 23 23:30:14 2010
New Revision: 915588

URL: http://svn.apache.org/viewvc?rev=915588&view=rev
Log:
remove nocommit: 0xffff is just like 0x10ffff etc now, just another char

Modified:
    lucene/java/branches/flex_1458/src/java/org/apache/lucene/util/UnicodeUtil.java

Modified: lucene/java/branches/flex_1458/src/java/org/apache/lucene/util/UnicodeUtil.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/flex_1458/src/java/org/apache/lucene/util/UnicodeUtil.java?rev=915588&r1=915587&r2=915588&view=diff
==============================================================================
--- lucene/java/branches/flex_1458/src/java/org/apache/lucene/util/UnicodeUtil.java (original)
+++ lucene/java/branches/flex_1458/src/java/org/apache/lucene/util/UnicodeUtil.java Tue Feb 23 23:30:14 2010
@@ -132,11 +132,6 @@
       } else {
         // surrogate pair
         // confirm valid high surrogate
-        // nocommit -- I removed the 0xffff check, here, but
-        // technically that's a break in back-compat, though
-        // it seems crazy that any external apps would rely
-        // on this?
-        //if (code < 0xDC00 && i < end && source[i] != 0xffff) {
         if (code < 0xDC00 && i < end) {
           int utf32 = (int) source[i];
           // confirm valid low surrogate and write pair
@@ -193,11 +188,6 @@
       } else {
         // surrogate pair
         // confirm valid high surrogate
-        // nocommit -- I removed the 0xffff check, here, but
-        // technically that's a break in back-compat, though
-        // it seems crazy that any external apps would rely
-        // on this?
-        //if (code < 0xDC00 && i < end && source[i] != 0xffff) {
         if (code < 0xDC00 && i < end) {
           int utf32 = (int) source[i];
           // confirm valid low surrogate and write pair