lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r924981 - /lucene/lucene.net/trunk/C#/contrib/SpellChecker.Net/SpellChecker.Net/Spell/LuceneDictionary.cs
Date Thu, 18 Mar 2010 20:31:39 GMT
Author: digy
Date: Thu Mar 18 20:31:39 2010
New Revision: 924981

URL: http://svn.apache.org/viewvc?rev=924981&view=rev
Log:
LUCENENET-351 spellcheck can fail (contrib)

Modified:
    lucene/lucene.net/trunk/C#/contrib/SpellChecker.Net/SpellChecker.Net/Spell/LuceneDictionary.cs

Modified: lucene/lucene.net/trunk/C#/contrib/SpellChecker.Net/SpellChecker.Net/Spell/LuceneDictionary.cs
URL: http://svn.apache.org/viewvc/lucene/lucene.net/trunk/C%23/contrib/SpellChecker.Net/SpellChecker.Net/Spell/LuceneDictionary.cs?rev=924981&r1=924980&r2=924981&view=diff
==============================================================================
--- lucene/lucene.net/trunk/C#/contrib/SpellChecker.Net/SpellChecker.Net/Spell/LuceneDictionary.cs
(original)
+++ lucene/lucene.net/trunk/C#/contrib/SpellChecker.Net/SpellChecker.Net/Spell/LuceneDictionary.cs
Thu Mar 18 20:31:39 2010
@@ -104,7 +104,7 @@ namespace SpellChecker.Net.Search.Spell
                     //  if the next word are in the field
                     actualTerm = termEnum.Term();
                     System.String fieldt = actualTerm.Field();
-                    if ((System.Object) fieldt != (System.Object) Enclosing_Instance.field)
+                    if ( fieldt != Enclosing_Instance.field)
                     {
                         actualTerm = null;
                         return false;



Mime
View raw message