cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/lucene/java/org/apache/cocoon/bean/query SimpleLuceneQueryBean.java SimpleLuceneQuery.java
Date Thu, 24 Jun 2004 11:31:17 GMT
cziegeler    2004/06/24 04:31:17

  Modified:    src/blocks/lucene/java/org/apache/cocoon/bean/query
                        SimpleLuceneQueryBean.java SimpleLuceneQuery.java
  Log:
  Fix javadocs
  
  Revision  Changes    Path
  1.2       +4 -8      cocoon-2.1/src/blocks/lucene/java/org/apache/cocoon/bean/query/SimpleLuceneQueryBean.java
  
  Index: SimpleLuceneQueryBean.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/lucene/java/org/apache/cocoon/bean/query/SimpleLuceneQueryBean.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SimpleLuceneQueryBean.java	21 Jun 2004 10:00:20 -0000	1.1
  +++ SimpleLuceneQueryBean.java	24 Jun 2004 11:31:17 -0000	1.2
  @@ -16,6 +16,7 @@
   
   package org.apache.cocoon.bean.query;
   
  +import java.io.IOException;
   import java.util.Iterator;
   import java.util.List;
   import java.util.Date;
  @@ -110,11 +111,6 @@
   	private String mType;
   
   	/**
  -	 * The Bean's searcher.
  -	 */
  -	private LuceneCocoonSearcher searcher;
  -	
  -	/**
   	 * Default constructor.
   	 */
   	public SimpleLuceneQueryBean() {
  @@ -180,7 +176,7 @@
   	 * @exception  ProcessingException thrown by the searcher
   	 * @exception  IOException thrown when the searcher's directory cannot be found
   	 */
  -	public List search (LuceneCocoonSearcher searcher) throws java.io.IOException, ProcessingException
{
  +	public List search (LuceneCocoonSearcher searcher) throws IOException, ProcessingException
{
   		BooleanQuery query = new BooleanQuery ();
   		Iterator criteria = mCriteria.iterator ();
   		boolean required = false;
  @@ -257,7 +253,7 @@
   	/**
   	 * Sets the Bean's Name.
   	 *
  -	 * @param id the <code>String</code> name of the Bean. 
  +	 * @param name the <code>String</code> name of the Bean. 
   	 */
   	public void setName(String name) {
   		mName = name;
  
  
  
  1.2       +3 -2      cocoon-2.1/src/blocks/lucene/java/org/apache/cocoon/bean/query/SimpleLuceneQuery.java
  
  Index: SimpleLuceneQuery.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/lucene/java/org/apache/cocoon/bean/query/SimpleLuceneQuery.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SimpleLuceneQuery.java	21 Jun 2004 10:00:20 -0000	1.1
  +++ SimpleLuceneQuery.java	24 Jun 2004 11:31:17 -0000	1.2
  @@ -16,6 +16,7 @@
   
   package org.apache.cocoon.bean.query;
   
  +import java.io.IOException;
   import java.util.List;
   import org.apache.cocoon.components.search.LuceneCocoonSearcher;
   import org.apache.cocoon.ProcessingException;
  @@ -61,6 +62,6 @@
        * @exception  ProcessingException thrown by the searcher
        * @exception  IOException thrown when the searcher's directory cannot be found
        */
  -    public List search (LuceneCocoonSearcher searcher)  throws java.io.IOException, ProcessingException;
  +    public List search (LuceneCocoonSearcher searcher)  throws IOException, ProcessingException;
   
   }
  
  
  

Mime
View raw message