lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tflo...@apache.org
Subject svn commit: r1650134 - in /lucene/dev/branches/branch_5x: ./ lucene/ lucene/suggest/ lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/AnalyzingInfixSuggesterTest.java
Date Wed, 07 Jan 2015 18:11:27 GMT
Author: tflobbe
Date: Wed Jan  7 18:11:26 2015
New Revision: 1650134

URL: http://svn.apache.org/r1650134
Log:
LUCENE-6149: Fixed typo

Modified:
    lucene/dev/branches/branch_5x/   (props changed)
    lucene/dev/branches/branch_5x/lucene/   (props changed)
    lucene/dev/branches/branch_5x/lucene/suggest/   (props changed)
    lucene/dev/branches/branch_5x/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/AnalyzingInfixSuggesterTest.java

Modified: lucene/dev/branches/branch_5x/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/AnalyzingInfixSuggesterTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/AnalyzingInfixSuggesterTest.java?rev=1650134&r1=1650133&r2=1650134&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/AnalyzingInfixSuggesterTest.java
(original)
+++ lucene/dev/branches/branch_5x/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/AnalyzingInfixSuggesterTest.java
Wed Jan  7 18:11:26 2015
@@ -111,15 +111,15 @@ public class AnalyzingInfixSuggesterTest
     assertEquals("a penny saved is a penny earned", results.get(0).key);
     assertNull(results.get(0).highlightKey);
     
-    testConstructorDefatuls(suggester, keys, a, true, true);
-    testConstructorDefatuls(suggester, keys, a, true, false);
-    testConstructorDefatuls(suggester, keys, a, false, false);
-    testConstructorDefatuls(suggester, keys, a, false, true);
+    testConstructorDefaults(suggester, keys, a, true, true);
+    testConstructorDefaults(suggester, keys, a, true, false);
+    testConstructorDefaults(suggester, keys, a, false, false);
+    testConstructorDefaults(suggester, keys, a, false, true);
     
     suggester.close();
   }
 
-  private void testConstructorDefatuls(AnalyzingInfixSuggester suggester, Input[] keys, Analyzer
a, 
+  private void testConstructorDefaults(AnalyzingInfixSuggester suggester, Input[] keys, Analyzer
a, 
       boolean allTermsRequired, boolean highlight) throws IOException {
     AnalyzingInfixSuggester suggester2 = new AnalyzingInfixSuggester(newDirectory(), a, a,
3, false, allTermsRequired, highlight);
     suggester2.build(new InputArrayIterator(keys));



Mime
View raw message