lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r424229 - /lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/SuggestWord.java
Date Fri, 21 Jul 2006 08:36:31 GMT
Author: otis
Date: Fri Jul 21 01:36:29 2006
New Revision: 424229

URL: http://svn.apache.org/viewvc?rev=424229&view=rev
Log:
- Cosmetics

Modified:
    lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/SuggestWord.java

Modified: lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/SuggestWord.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/SuggestWord.java?rev=424229&r1=424228&r2=424229&view=diff
==============================================================================
--- lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/SuggestWord.java
(original)
+++ lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/SuggestWord.java
Fri Jul 21 01:36:29 2006
@@ -38,8 +38,8 @@
    */
   public String string;
 
-  public final int compareTo (SuggestWord a) {
-    //first criteria: the edit distance
+  public final int compareTo(SuggestWord a) {
+    // first criteria: the edit distance
     if (score > a.score) {
       return 1;
     }
@@ -47,7 +47,7 @@
       return -1;
     }
 
-    //second criteria (if first criteria is equal): the popularity
+    // second criteria (if first criteria is equal): the popularity
     if (freq > a.freq) {
       return 1;
     }



Mime
View raw message