Return-Path: Delivered-To: apmail-xml-cocoon-cvs-archive@xml.apache.org Received: (qmail 41601 invoked by uid 500); 28 Dec 2001 16:37:50 -0000 Mailing-List: contact cocoon-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: cocoon-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cocoon-cvs@xml.apache.org Received: (qmail 41592 invoked by uid 500); 28 Dec 2001 16:37:50 -0000 Delivered-To: apmail-xml-cocoon2-cvs@apache.org Date: 28 Dec 2001 16:37:50 -0000 Message-ID: <20011228163750.32680.qmail@icarus.apache.org> From: giacomo@apache.org To: xml-cocoon2-cvs@apache.org Subject: cvs commit: xml-cocoon2/src/org/apache/cocoon/components/search LuceneCocoonIndexer.java LuceneCocoonSearcher.java LuceneXMLIndexer.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N giacomo 01/12/28 08:37:50 Modified: src/org/apache/cocoon/components/crawler CocoonCrawler.java src/org/apache/cocoon/components/search LuceneCocoonIndexer.java LuceneCocoonSearcher.java LuceneXMLIndexer.java Log: removed unnecessary modifier in interfaces Revision Changes Path 1.2 +4 -4 xml-cocoon2/src/org/apache/cocoon/components/crawler/CocoonCrawler.java Index: CocoonCrawler.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/components/crawler/CocoonCrawler.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- CocoonCrawler.java 2001/12/23 09:22:33 1.1 +++ CocoonCrawler.java 2001/12/28 16:37:50 1.2 @@ -16,7 +16,7 @@ * The avalon behavioural component interface of crawling. * * @author Bernhard Huber - * @version CVS $Id: CocoonCrawler.java,v 1.1 2001/12/23 09:22:33 huber Exp $ + * @version CVS $Id: CocoonCrawler.java,v 1.2 2001/12/28 16:37:50 giacomo Exp $ */ public interface CocoonCrawler extends Component { @@ -26,7 +26,7 @@ * * @since */ - public final static String ROLE = "org.apache.cocoon.components.crawler.CocoonCrawler"; + String ROLE = "org.apache.cocoon.components.crawler.CocoonCrawler"; /** @@ -38,7 +38,7 @@ * @param url Description of Parameter * @since */ - public void crawl(URL url); + void crawl(URL url); /** @@ -51,6 +51,6 @@ * @return Iterator iterates over crawling URLs. * @since */ - public Iterator iterator(); + Iterator iterator(); } 1.2 +4 -4 xml-cocoon2/src/org/apache/cocoon/components/search/LuceneCocoonIndexer.java Index: LuceneCocoonIndexer.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/components/search/LuceneCocoonIndexer.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- LuceneCocoonIndexer.java 2001/12/23 09:24:46 1.1 +++ LuceneCocoonIndexer.java 2001/12/28 16:37:50 1.2 @@ -19,7 +19,7 @@ * The avalon behavioural component interface of an indexer. * * @author Bernhard Huber - * @version CVS $Id: LuceneCocoonIndexer.java,v 1.1 2001/12/23 09:24:46 huber Exp $ + * @version CVS $Id: LuceneCocoonIndexer.java,v 1.2 2001/12/28 16:37:50 giacomo Exp $ */ public interface LuceneCocoonIndexer extends Component { @@ -29,7 +29,7 @@ * * @since */ - public final static String ROLE = "org.apache.cocoon.components.search.LuceneCocoonIndexer"; + String ROLE = "org.apache.cocoon.components.search.LuceneCocoonIndexer"; /** @@ -38,7 +38,7 @@ * @param analyzer The new analyzer value * @since */ - public void setAnalyzer(Analyzer analyzer); + void setAnalyzer(Analyzer analyzer); /** @@ -50,7 +50,7 @@ * @exception ProcessingException Description of Exception * @since */ - public void index(Directory index, boolean create, URL base_url) + void index(Directory index, boolean create, URL base_url) throws ProcessingException; } 1.2 +5 -5 xml-cocoon2/src/org/apache/cocoon/components/search/LuceneCocoonSearcher.java Index: LuceneCocoonSearcher.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/components/search/LuceneCocoonSearcher.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- LuceneCocoonSearcher.java 2001/12/23 09:24:46 1.1 +++ LuceneCocoonSearcher.java 2001/12/28 16:37:50 1.2 @@ -22,7 +22,7 @@ *

* * @author Bernhard Huber - * @version CVS $Id: LuceneCocoonSearcher.java,v 1.1 2001/12/23 09:24:46 huber Exp $ + * @version CVS $Id: LuceneCocoonSearcher.java,v 1.2 2001/12/28 16:37:50 giacomo Exp $ */ public interface LuceneCocoonSearcher extends Component { @@ -35,7 +35,7 @@ * * @since */ - public final static String ROLE = "org.apache.cocoon.components.search.LuceneCocoonSearcher"; + String ROLE = "org.apache.cocoon.components.search.LuceneCocoonSearcher"; /** @@ -52,7 +52,7 @@ * @param analyzer The new analyzer value * @since */ - public void setAnalyzer(Analyzer analyzer); + void setAnalyzer(Analyzer analyzer); /** @@ -65,7 +65,7 @@ * @param directory The new directory value * @since */ - public void setDirectory(Directory directory); + void setDirectory(Directory directory); /** @@ -80,6 +80,6 @@ * looking up the index directory, parsing the query string, generating the hits. * @since */ - public Hits search(String query_string, String default_field) throws ProcessingException; + Hits search(String query_string, String default_field) throws ProcessingException; } 1.2 +8 -8 xml-cocoon2/src/org/apache/cocoon/components/search/LuceneXMLIndexer.java Index: LuceneXMLIndexer.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/components/search/LuceneXMLIndexer.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- LuceneXMLIndexer.java 2001/12/23 09:24:46 1.1 +++ LuceneXMLIndexer.java 2001/12/28 16:37:50 1.2 @@ -31,7 +31,7 @@ *

* * @author Bernhard Huber - * @version CVS $Id: LuceneXMLIndexer.java,v 1.1 2001/12/23 09:24:46 huber Exp $ + * @version CVS $Id: LuceneXMLIndexer.java,v 1.2 2001/12/28 16:37:50 giacomo Exp $ */ public interface LuceneXMLIndexer extends Component { @@ -45,7 +45,7 @@ * * @since */ - public final static String ROLE = "org.apache.cocoon.components.search.LuceneXMLIndexer"; + String ROLE = "org.apache.cocoon.components.search.LuceneXMLIndexer"; /** * A Lucene document field name, containing xml content text of all xml elements. @@ -60,7 +60,7 @@ * * @since */ - public final static String BODY_FIELD = "body"; + String BODY_FIELD = "body"; /** * A Lucene document field name, containg the URI/URL of the indexed @@ -72,7 +72,7 @@ * * @since */ - public final static String URL_FIELD = "url"; + String URL_FIELD = "url"; /** * A Lucene document field name, containg the a unique key of the indexed @@ -88,7 +88,7 @@ * * @since */ - public final static String UID_FIELD = "uid"; + String UID_FIELD = "uid"; /** @@ -100,7 +100,7 @@ * @see java.util.List * @see #build( URL url ) */ - public List allDocuments(); + List allDocuments(); /** @@ -112,7 +112,7 @@ * @see java.util.Iterator * @see #build( URL url ) */ - public Iterator iterator(); + Iterator iterator(); /** @@ -127,6 +127,6 @@ * @exception ProcessingException Description of Exception * @since */ - public void build(URL url) throws ProcessingException; + void build(URL url) throws ProcessingException; } ---------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-cvs-help@xml.apache.org