You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2011/05/14 14:17:57 UTC

svn commit: r1103082 - /lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/index/TestLongPostings.java

Author: mikemccand
Date: Sat May 14 12:17:57 2011
New Revision: 1103082

URL: http://svn.apache.org/viewvc?rev=1103082&view=rev
Log:
don't need to avoid 0xffff anymore in this test since _TestUtil.getRealisticUnicodeString no longer returns it

Modified:
    lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/index/TestLongPostings.java

Modified: lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/index/TestLongPostings.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/index/TestLongPostings.java?rev=1103082&r1=1103081&r2=1103082&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/index/TestLongPostings.java (original)
+++ lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/index/TestLongPostings.java Sat May 14 12:17:57 2011
@@ -43,11 +43,6 @@ public class TestLongPostings extends Lu
       if (other != null && s.equals(other)) {
         continue;
       }
-      if (s.indexOf("\uffff") != -1) {
-        // 3.x limitation only (4.x can handle this code
-        // point fine)
-        continue;
-      }
       final TokenStream ts = a.tokenStream("foo", new StringReader(s));
       final TermAttribute termAtt = ts.getAttribute(TermAttribute.class);
       int count = 0;