lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r915588 - /lucene/java/branches/flex_1458/src/java/org/apache/lucene/util/UnicodeUtil.java
Date Tue, 23 Feb 2010 23:30:14 GMT
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



Mime
View raw message