lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r657728 - /lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/PlainTextDictionary.java
Date Mon, 19 May 2008 05:45:31 GMT
Author: otis
Date: Sun May 18 22:45:31 2008
New Revision: 657728

URL: http://svn.apache.org/viewvc?rev=657728&view=rev
Log:
- Made PlainTextDictionary(Reader) public from protected

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

Modified: lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/PlainTextDictionary.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/PlainTextDictionary.java?rev=657728&r1=657727&r2=657728&view=diff
==============================================================================
--- lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/PlainTextDictionary.java
(original)
+++ lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/PlainTextDictionary.java
Sun May 18 22:45:31 2008
@@ -29,8 +29,6 @@
  * word1<br/>
  * word2<br/>
  * word3<br/>
- *
- *
  */
 public class PlainTextDictionary implements Dictionary {
 
@@ -47,9 +45,9 @@
   }
 
   /**
-   * Create a dictionary based on a reader. Used by the test case.
+   * Creates a dictionary based on a reader.
    */
-  protected PlainTextDictionary(Reader reader) {
+  public PlainTextDictionary(Reader reader) {
     in = new BufferedReader(reader);
   }
 
@@ -57,7 +55,6 @@
     return new fileIterator();
   }
 
-
   final class fileIterator implements Iterator {
     public Object next() {
       if (!hasNextCalled) {
@@ -77,7 +74,6 @@
       return (line != null) ? true : false;
     }
 
-
     public void remove() {
       throw new UnsupportedOperationException();
     }



Mime
View raw message