cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/modules/output RequestAttributeOutputModule.java
Date Thu, 05 Dec 2002 10:10:46 GMT
cziegeler    2002/12/05 02:10:46

  Modified:    src/java/org/apache/cocoon/components/search
                        IndexHelperField.java LuceneCocoonPager.java
                        SimpleLuceneXMLIndexerImpl.java
                        SimpleLuceneCocoonSearcherImpl.java
                        SimpleLuceneCocoonIndexerImpl.java
                        LuceneCocoonHelper.java LuceneXMLIndexer.java
                        LuceneIndexContentHandler.java
                        LuceneCocoonIndexer.java
               src/java/org/apache/cocoon/components/pipeline
                        ProcessingPipeline.java
                        AbstractProcessingPipeline.java
               src/java/org/apache/cocoon/components/resolver
                        ResolverImpl.java
               src/java/org/apache/cocoon/components/source
                        AbstractSAXSource.java AbstractStreamSource.java
                        AbstractStreamWriteableSource.java
               src/java/org/apache/cocoon/components/notification
                        NotifyingCascadingRuntimeException.java
                        SimpleNotifyingBean.java
               src/java/org/apache/cocoon/components/sax
                        XMLByteStreamCompiler.java
                        XMLByteStreamInterpreter.java
               src/java/org/apache/cocoon/components/modules/output
                        RequestAttributeOutputModule.java
  Log:
  Removing unused imports
  
  Revision  Changes    Path
  1.5       +1 -12     xml-cocoon2/src/java/org/apache/cocoon/components/search/IndexHelperField.java
  
  Index: IndexHelperField.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/search/IndexHelperField.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- IndexHelperField.java	22 Feb 2002 07:00:12 -0000	1.4
  +++ IndexHelperField.java	5 Dec 2002 10:10:45 -0000	1.5
  @@ -49,19 +49,8 @@
   
   */
   package org.apache.cocoon.components.search;
  -import org.apache.lucene.document.DateField;
   
  -import org.apache.lucene.document.Document;
  -import org.apache.lucene.document.Field;
   import org.xml.sax.Attributes;
  -
  -import org.xml.sax.ContentHandler;
  -import org.xml.sax.ErrorHandler;
  -import org.xml.sax.InputSource;
  -import org.xml.sax.Locator;
  -import org.xml.sax.SAXException;
  -import org.xml.sax.SAXParseException;
  -import org.xml.sax.XMLReader;
   
   /**
    * A helper class for generating a lucene document in a SAX ContentHandler.
  
  
  
  1.5       +6 -8      xml-cocoon2/src/java/org/apache/cocoon/components/search/LuceneCocoonPager.java
  
  Index: LuceneCocoonPager.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/search/LuceneCocoonPager.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- LuceneCocoonPager.java	22 Feb 2002 07:00:12 -0000	1.4
  +++ LuceneCocoonPager.java	5 Dec 2002 10:10:45 -0000	1.5
  @@ -50,15 +50,13 @@
   */
   package org.apache.cocoon.components.search;
   
  -import java.io.File;
  +import org.apache.lucene.document.Document;
  +import org.apache.lucene.search.Hits;
  +
   import java.io.IOException;
  -import java.util.ListIterator;
   import java.util.ArrayList;
  +import java.util.ListIterator;
   import java.util.NoSuchElementException;
  -
  -import org.apache.lucene.analysis.Analyzer;
  -import org.apache.lucene.document.Document;
  -import org.apache.lucene.search.Hits;
   
   /**
    * This class should help you to manage paging of hits.
  
  
  
  1.15      +10 -27    xml-cocoon2/src/java/org/apache/cocoon/components/search/SimpleLuceneXMLIndexerImpl.java
  
  Index: SimpleLuceneXMLIndexerImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/search/SimpleLuceneXMLIndexerImpl.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- SimpleLuceneXMLIndexerImpl.java	23 Nov 2002 14:12:46 -0000	1.14
  +++ SimpleLuceneXMLIndexerImpl.java	5 Dec 2002 10:10:45 -0000	1.15
  @@ -50,22 +50,7 @@
   */
   package org.apache.cocoon.components.search;
   
  -import java.io.*;
  -
  -import java.net.URL;
  -import java.net.URLConnection;
  -import java.util.ArrayList;
  -
  -import java.util.Collections;
  -import java.util.HashSet;
  -import java.util.Iterator;
  -import java.util.List;
  -import java.util.Map;
  -
  -import javax.xml.parsers.*;
  -
   import org.apache.avalon.excalibur.xml.Parser;
  -import org.apache.avalon.framework.activity.Disposable;
   import org.apache.avalon.framework.component.ComponentException;
   import org.apache.avalon.framework.component.ComponentManager;
   import org.apache.avalon.framework.component.Composable;
  @@ -73,25 +58,23 @@
   import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.configuration.ConfigurationException;
   import org.apache.avalon.framework.logger.AbstractLogEnabled;
  -import org.apache.avalon.framework.parameters.Parameters;
   import org.apache.avalon.framework.thread.ThreadSafe;
   import org.apache.cocoon.ProcessingException;
  -
  -import org.apache.cocoon.environment.SourceResolver;
  +import org.apache.cocoon.util.Tokenizer;
   import org.apache.lucene.document.DateField;
  -
   import org.apache.lucene.document.Document;
   import org.apache.lucene.document.Field;
  -import org.xml.sax.Attributes;
  -import org.xml.sax.ContentHandler;
  -import org.xml.sax.ErrorHandler;
   import org.xml.sax.InputSource;
  -import org.xml.sax.Locator;
   import org.xml.sax.SAXException;
  -import org.xml.sax.SAXParseException;
  -import org.xml.sax.XMLReader;
   
  -import org.apache.cocoon.util.Tokenizer;
  +import java.io.IOException;
  +import java.io.InputStream;
  +import java.net.URL;
  +import java.net.URLConnection;
  +import java.util.Collections;
  +import java.util.HashSet;
  +import java.util.Iterator;
  +import java.util.List;
   
   
   /**
  
  
  
  1.7       +10 -15    xml-cocoon2/src/java/org/apache/cocoon/components/search/SimpleLuceneCocoonSearcherImpl.java
  
  Index: SimpleLuceneCocoonSearcherImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/search/SimpleLuceneCocoonSearcherImpl.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SimpleLuceneCocoonSearcherImpl.java	31 Jul 2002 13:13:25 -0000	1.6
  +++ SimpleLuceneCocoonSearcherImpl.java	5 Dec 2002 10:10:45 -0000	1.7
  @@ -49,12 +49,6 @@
   
   */
   package org.apache.cocoon.components.search;
  -import java.io.File;
  -
  -import java.io.IOException;
  -import java.net.URL;
  -import java.util.Iterator;
  -
   import org.apache.avalon.excalibur.pool.Recyclable;
   import org.apache.avalon.framework.activity.Disposable;
   import org.apache.avalon.framework.component.ComponentException;
  @@ -64,19 +58,20 @@
   import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.configuration.ConfigurationException;
   import org.apache.avalon.framework.logger.AbstractLogEnabled;
  -
   import org.apache.cocoon.ProcessingException;
   import org.apache.cocoon.util.ClassUtils;
  -
   import org.apache.lucene.analysis.Analyzer;
  -import org.apache.lucene.document.DateField;
  -import org.apache.lucene.document.Document;
  -import org.apache.lucene.document.Field;
  -import org.apache.lucene.index.*;
  -import org.apache.lucene.queryParser.*;
  -import org.apache.lucene.search.*;
  +import org.apache.lucene.index.IndexReader;
  +import org.apache.lucene.queryParser.ParseException;
  +import org.apache.lucene.queryParser.QueryParser;
  +import org.apache.lucene.search.Hits;
  +import org.apache.lucene.search.IndexSearcher;
  +import org.apache.lucene.search.Query;
   import org.apache.lucene.store.Directory;
   import org.apache.lucene.store.FSDirectory;
  +
  +import java.io.File;
  +import java.io.IOException;
   
   /**
    * This class provides searching via lucene.
  
  
  
  1.9       +9 -15     xml-cocoon2/src/java/org/apache/cocoon/components/search/SimpleLuceneCocoonIndexerImpl.java
  
  Index: SimpleLuceneCocoonIndexerImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/search/SimpleLuceneCocoonIndexerImpl.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- SimpleLuceneCocoonIndexerImpl.java	31 Jul 2002 13:13:25 -0000	1.8
  +++ SimpleLuceneCocoonIndexerImpl.java	5 Dec 2002 10:10:45 -0000	1.9
  @@ -50,33 +50,27 @@
   */
   package org.apache.cocoon.components.search;
   
  -import java.io.IOException;
  -import java.net.URL;
  -import java.util.Iterator;
  -
  -import org.apache.avalon.excalibur.pool.Recyclable;
   import org.apache.avalon.framework.activity.Disposable;
  -
   import org.apache.avalon.framework.component.ComponentException;
   import org.apache.avalon.framework.component.ComponentManager;
   import org.apache.avalon.framework.component.Composable;
  -
   import org.apache.avalon.framework.configuration.Configurable;
   import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.configuration.ConfigurationException;
  -
   import org.apache.avalon.framework.logger.AbstractLogEnabled;
  -
   import org.apache.cocoon.ProcessingException;
  -
   import org.apache.cocoon.components.crawler.CocoonCrawler;
   import org.apache.lucene.analysis.Analyzer;
  -import org.apache.lucene.document.DateField;
  -
   import org.apache.lucene.document.Document;
  -import org.apache.lucene.document.Field;
  -import org.apache.lucene.index.*;
  +import org.apache.lucene.index.IndexReader;
  +import org.apache.lucene.index.IndexWriter;
  +import org.apache.lucene.index.Term;
  +import org.apache.lucene.index.TermEnum;
   import org.apache.lucene.store.Directory;
  +
  +import java.io.IOException;
  +import java.net.URL;
  +import java.util.Iterator;
   
   /**
    * A lucene indexer.
  
  
  
  1.5       +6 -6      xml-cocoon2/src/java/org/apache/cocoon/components/search/LuceneCocoonHelper.java
  
  Index: LuceneCocoonHelper.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/search/LuceneCocoonHelper.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- LuceneCocoonHelper.java	22 Feb 2002 07:00:12 -0000	1.4
  +++ LuceneCocoonHelper.java	5 Dec 2002 10:10:45 -0000	1.5
  @@ -50,14 +50,14 @@
   */
   package org.apache.cocoon.components.search;
   
  -import java.io.File;
  -import java.io.IOException;
  -
   import org.apache.lucene.analysis.Analyzer;
  -import org.apache.lucene.store.FSDirectory;
  -import org.apache.lucene.store.Directory;
   import org.apache.lucene.index.IndexReader;
   import org.apache.lucene.index.IndexWriter;
  +import org.apache.lucene.store.Directory;
  +import org.apache.lucene.store.FSDirectory;
  +
  +import java.io.File;
  +import java.io.IOException;
   
   /**
    * This class encapsulates some helper methods.
  
  
  
  1.6       +4 -7      xml-cocoon2/src/java/org/apache/cocoon/components/search/LuceneXMLIndexer.java
  
  Index: LuceneXMLIndexer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/search/LuceneXMLIndexer.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- LuceneXMLIndexer.java	22 Feb 2002 07:00:12 -0000	1.5
  +++ LuceneXMLIndexer.java	5 Dec 2002 10:10:45 -0000	1.6
  @@ -50,14 +50,11 @@
   */
   package org.apache.cocoon.components.search;
   
  -import java.net.URL;
  -import java.util.Iterator;
  -import java.util.List;
  -
   import org.apache.avalon.framework.component.Component;
  -
   import org.apache.cocoon.ProcessingException;
  -import org.apache.lucene.document.Document;
  +
  +import java.net.URL;
  +import java.util.List;
   
   /**
    * The avalon behavioural component interface of generating
  
  
  
  1.8       +7 -11     xml-cocoon2/src/java/org/apache/cocoon/components/search/LuceneIndexContentHandler.java
  
  Index: LuceneIndexContentHandler.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/search/LuceneIndexContentHandler.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- LuceneIndexContentHandler.java	23 Nov 2002 14:21:10 -0000	1.7
  +++ LuceneIndexContentHandler.java	5 Dec 2002 10:10:45 -0000	1.8
  @@ -50,22 +50,18 @@
   */
   package org.apache.cocoon.components.search;
   
  -import java.util.ArrayList;
  -import java.util.HashSet;
  -import java.util.Iterator;
  -import java.util.List;
  -import java.util.Stack;
  -
  -import org.apache.lucene.document.DateField;
   import org.apache.lucene.document.Document;
   import org.apache.lucene.document.Field;
  -
   import org.xml.sax.Attributes;
   import org.xml.sax.ContentHandler;
  -import org.xml.sax.InputSource;
   import org.xml.sax.Locator;
  -import org.xml.sax.SAXException;
   import org.xml.sax.helpers.AttributesImpl;
  +
  +import java.util.ArrayList;
  +import java.util.HashSet;
  +import java.util.Iterator;
  +import java.util.List;
  +import java.util.Stack;
   
   /**
    * Parse XML and generate lucene document(s)
  
  
  
  1.5       +3 -4      xml-cocoon2/src/java/org/apache/cocoon/components/search/LuceneCocoonIndexer.java
  
  Index: LuceneCocoonIndexer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/search/LuceneCocoonIndexer.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- LuceneCocoonIndexer.java	22 Feb 2002 07:00:12 -0000	1.4
  +++ LuceneCocoonIndexer.java	5 Dec 2002 10:10:45 -0000	1.5
  @@ -50,13 +50,12 @@
   */
   package org.apache.cocoon.components.search;
   
  -import java.net.URL;
  -
   import org.apache.avalon.framework.component.Component;
   import org.apache.cocoon.ProcessingException;
  -
   import org.apache.lucene.analysis.Analyzer;
   import org.apache.lucene.store.Directory;
  +
  +import java.net.URL;
   
   /**
    * The avalon behavioural component interface of an indexer.
  
  
  
  1.12      +1 -2      xml-cocoon2/src/java/org/apache/cocoon/components/pipeline/ProcessingPipeline.java
  
  Index: ProcessingPipeline.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/pipeline/ProcessingPipeline.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ProcessingPipeline.java	9 Sep 2002 12:00:41 -0000	1.11
  +++ ProcessingPipeline.java	5 Dec 2002 10:10:45 -0000	1.12
  @@ -53,7 +53,6 @@
   import org.apache.avalon.framework.component.Component;
   import org.apache.avalon.framework.component.Recomposable;
   import org.apache.avalon.framework.parameters.Parameters;
  -import org.apache.cocoon.components.treeprocessor.ProcessingNode;
   import org.apache.cocoon.ProcessingException;
   import org.apache.cocoon.environment.Environment;
   import org.apache.cocoon.generation.Generator;
  
  
  
  1.25      +7 -6      xml-cocoon2/src/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java
  
  Index: AbstractProcessingPipeline.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- AbstractProcessingPipeline.java	11 Oct 2002 08:36:30 -0000	1.24
  +++ AbstractProcessingPipeline.java	5 Dec 2002 10:10:45 -0000	1.25
  @@ -51,18 +51,16 @@
   package org.apache.cocoon.components.pipeline;
   
   import org.apache.avalon.excalibur.pool.Recyclable;
  -import org.apache.excalibur.source.SourceValidity;
   import org.apache.avalon.framework.component.Component;
   import org.apache.avalon.framework.component.ComponentException;
   import org.apache.avalon.framework.component.ComponentManager;
   import org.apache.avalon.framework.component.ComponentSelector;
   import org.apache.avalon.framework.logger.AbstractLogEnabled;
  -import org.apache.avalon.framework.parameters.Parameters;
   import org.apache.avalon.framework.parameters.Parameterizable;
  +import org.apache.avalon.framework.parameters.Parameters;
   import org.apache.cocoon.ConnectionResetException;
   import org.apache.cocoon.ProcessingException;
   import org.apache.cocoon.components.CocoonComponentManager;
  -import org.apache.cocoon.components.treeprocessor.ProcessingNode;
   import org.apache.cocoon.environment.Environment;
   import org.apache.cocoon.environment.ObjectModelHelper;
   import org.apache.cocoon.environment.Response;
  @@ -72,13 +70,16 @@
   import org.apache.cocoon.transformation.Transformer;
   import org.apache.cocoon.xml.XMLConsumer;
   import org.apache.cocoon.xml.XMLProducer;
  +import org.apache.excalibur.source.SourceValidity;
   import org.xml.sax.SAXException;
   
   import java.io.ByteArrayOutputStream;
   import java.io.IOException;
  -import java.io.OutputStream;
   import java.net.SocketException;
  -import java.util.*;
  +import java.util.ArrayList;
  +import java.util.Iterator;
  +import java.util.NoSuchElementException;
  +import java.util.StringTokenizer;
   
   /**
    * This is the base for all implementations of a <code>ProcessingPipeline</code>.
  
  
  
  1.15      +3 -7      xml-cocoon2/src/java/org/apache/cocoon/components/resolver/ResolverImpl.java
  
  Index: ResolverImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/resolver/ResolverImpl.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- ResolverImpl.java	19 Nov 2002 08:34:21 -0000	1.14
  +++ ResolverImpl.java	5 Dec 2002 10:10:45 -0000	1.15
  @@ -55,21 +55,17 @@
   import org.apache.avalon.framework.component.ComponentException;
   import org.apache.avalon.framework.component.ComponentManager;
   import org.apache.avalon.framework.component.Composable;
  -import org.apache.avalon.framework.parameters.Parameterizable;
  -import org.apache.avalon.framework.parameters.Parameters;
  -import org.apache.avalon.framework.parameters.ParameterException;
   import org.apache.avalon.framework.context.Context;
   import org.apache.avalon.framework.context.ContextException;
   import org.apache.avalon.framework.context.Contextualizable;
   import org.apache.avalon.framework.logger.AbstractLogEnabled;
  +import org.apache.avalon.framework.parameters.ParameterException;
  +import org.apache.avalon.framework.parameters.Parameterizable;
   import org.apache.avalon.framework.parameters.Parameters;
   import org.apache.avalon.framework.thread.ThreadSafe;
  -
   import org.apache.cocoon.Constants;
  -
   import org.apache.xml.resolver.helpers.Debug;
   import org.apache.xml.resolver.tools.CatalogResolver;
  -
   import org.xml.sax.InputSource;
   import org.xml.sax.SAXException;
   
  
  
  
  1.8       +4 -11     xml-cocoon2/src/java/org/apache/cocoon/components/source/AbstractSAXSource.java
  
  Index: AbstractSAXSource.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/source/AbstractSAXSource.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- AbstractSAXSource.java	31 Jul 2002 13:13:25 -0000	1.7
  +++ AbstractSAXSource.java	5 Dec 2002 10:10:45 -0000	1.8
  @@ -54,25 +54,18 @@
   import org.apache.avalon.framework.component.ComponentManager;
   import org.apache.avalon.framework.component.ComponentSelector;
   import org.apache.avalon.framework.logger.Logger;
  -
   import org.apache.cocoon.ProcessingException;
  -import org.apache.cocoon.ResourceNotFoundException;
   import org.apache.cocoon.environment.Environment;
   import org.apache.cocoon.environment.Source;
  -import org.apache.cocoon.environment.ModifiableSource;
   import org.apache.cocoon.serialization.Serializer;
  -
  -import org.xml.sax.InputSource;
   import org.xml.sax.ContentHandler;
  +import org.xml.sax.InputSource;
   import org.xml.sax.SAXException;
  -import org.xml.sax.helpers.AttributesImpl;
   
  +import java.io.ByteArrayInputStream;
  +import java.io.ByteArrayOutputStream;
   import java.io.IOException;
   import java.io.InputStream;
  -import java.io.ByteArrayOutputStream;
  -import java.io.ByteArrayInputStream;
  -import java.net.MalformedURLException;
  -import java.net.URL;
   
   /**
    * This abstract class provides convenience methods to implement
  
  
  
  1.7       +9 -24     xml-cocoon2/src/java/org/apache/cocoon/components/source/AbstractStreamSource.java
  
  Index: AbstractStreamSource.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/source/AbstractStreamSource.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- AbstractStreamSource.java	21 Sep 2002 02:21:37 -0000	1.6
  +++ AbstractStreamSource.java	5 Dec 2002 10:10:45 -0000	1.7
  @@ -56,42 +56,27 @@
   package org.apache.cocoon.components.source;
   
   import org.apache.avalon.excalibur.xml.Parser;
  -
  -import org.apache.excalibur.source.SourceParameters;
  -import org.apache.excalibur.source.SourceUtil;
  -
  -import org.apache.avalon.framework.logger.AbstractLogEnabled;
   import org.apache.avalon.framework.component.ComponentManager;
  -
  +import org.apache.avalon.framework.logger.AbstractLogEnabled;
   import org.apache.cocoon.ProcessingException;
   import org.apache.cocoon.environment.ModifiableSource;
   import org.apache.cocoon.util.ClassUtils;
  -import org.apache.cocoon.xml.XMLConsumer;
  -
  +import org.w3c.dom.Document;
   import org.xml.sax.ContentHandler;
   import org.xml.sax.InputSource;
   import org.xml.sax.SAXException;
  -import org.xml.sax.ext.LexicalHandler;
  -import org.w3c.dom.Document;
  -
  -import java.io.File;
  -import java.io.FileInputStream;
  -import java.io.FileNotFoundException;
  -import java.io.IOException;
  -import java.io.InputStream;
  -import java.io.StringWriter;
  -import java.lang.reflect.Method;
  -import java.net.HttpURLConnection;
  -import java.net.URLConnection;
  -import java.net.URL;
  -import java.util.Iterator;
  -import java.util.Properties;
   
   import javax.xml.transform.OutputKeys;
   import javax.xml.transform.Transformer;
   import javax.xml.transform.TransformerFactory;
   import javax.xml.transform.dom.DOMSource;
   import javax.xml.transform.stream.StreamResult;
  +
  +import java.io.IOException;
  +import java.io.InputStream;
  +import java.io.StringWriter;
  +import java.lang.reflect.Method;
  +import java.util.Properties;
   
   /**
    * This abstract class provides convenience methods to implement
  
  
  
  1.5       +2 -10     xml-cocoon2/src/java/org/apache/cocoon/components/source/AbstractStreamWriteableSource.java
  
  Index: AbstractStreamWriteableSource.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/source/AbstractStreamWriteableSource.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AbstractStreamWriteableSource.java	4 Jun 2002 07:11:27 -0000	1.4
  +++ AbstractStreamWriteableSource.java	5 Dec 2002 10:10:45 -0000	1.5
  @@ -57,22 +57,14 @@
   import org.apache.avalon.framework.component.ComponentException;
   import org.apache.avalon.framework.component.ComponentManager;
   import org.apache.avalon.framework.component.ComponentSelector;
  -
  +import org.apache.cocoon.ProcessingException;
   import org.apache.cocoon.serialization.Serializer;
   import org.apache.cocoon.xml.AbstractXMLPipe;
  -import org.apache.cocoon.ProcessingException;
  -
   import org.xml.sax.ContentHandler;
   import org.xml.sax.SAXException;
   
  -import java.io.File;
  -import java.io.FileInputStream;
  -import java.io.FileOutputStream;
  -import java.io.FilterOutputStream;
  -import java.io.InputStream;
   import java.io.IOException;
   import java.io.OutputStream;
  -import java.net.URL;
   
   /**
    * This abstract class provides convenience methods to implement
  
  
  
  1.7       +1 -4      xml-cocoon2/src/java/org/apache/cocoon/components/notification/NotifyingCascadingRuntimeException.java
  
  Index: NotifyingCascadingRuntimeException.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/notification/NotifyingCascadingRuntimeException.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- NotifyingCascadingRuntimeException.java	15 Jul 2002 14:52:39 -0000	1.6
  +++ NotifyingCascadingRuntimeException.java	5 Dec 2002 10:10:45 -0000	1.7
  @@ -54,9 +54,6 @@
   
   import java.util.Map;
   
  -import java.io.PrintStream;
  -import java.io.PrintWriter;
  -
   /**
    * A CascadingRuntimeException that is also Notifying.
    *
  
  
  
  1.7       +2 -4      xml-cocoon2/src/java/org/apache/cocoon/components/notification/SimpleNotifyingBean.java
  
  Index: SimpleNotifyingBean.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/notification/SimpleNotifyingBean.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SimpleNotifyingBean.java	15 Jul 2002 14:52:39 -0000	1.6
  +++ SimpleNotifyingBean.java	5 Dec 2002 10:10:45 -0000	1.7
  @@ -50,10 +50,8 @@
   */
   package org.apache.cocoon.components.notification;
   
  -import java.io.PrintWriter;
  -import java.io.StringWriter;
  -import java.util.Map;
   import java.util.HashMap;
  +import java.util.Map;
   
   /**
    *  A simple bean implementation of Notifying.
  
  
  
  1.9       +1 -2      xml-cocoon2/src/java/org/apache/cocoon/components/sax/XMLByteStreamCompiler.java
  
  Index: XMLByteStreamCompiler.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/sax/XMLByteStreamCompiler.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- XMLByteStreamCompiler.java	21 Nov 2002 18:18:49 -0000	1.8
  +++ XMLByteStreamCompiler.java	5 Dec 2002 10:10:46 -0000	1.9
  @@ -52,7 +52,6 @@
   
   import org.apache.avalon.excalibur.pool.Recyclable;
   import org.apache.avalon.framework.CascadingRuntimeException;
  -import org.apache.avalon.framework.component.Component;
   import org.xml.sax.Attributes;
   import org.xml.sax.Locator;
   import org.xml.sax.SAXException;
  
  
  
  1.10      +1 -2      xml-cocoon2/src/java/org/apache/cocoon/components/sax/XMLByteStreamInterpreter.java
  
  Index: XMLByteStreamInterpreter.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/sax/XMLByteStreamInterpreter.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- XMLByteStreamInterpreter.java	26 Aug 2002 11:13:47 -0000	1.9
  +++ XMLByteStreamInterpreter.java	5 Dec 2002 10:10:46 -0000	1.10
  @@ -51,7 +51,6 @@
   package org.apache.cocoon.components.sax;
   
   import org.apache.avalon.excalibur.pool.Recyclable;
  -import org.apache.avalon.framework.component.Component;
   import org.apache.cocoon.xml.AbstractXMLProducer;
   import org.xml.sax.SAXException;
   import org.xml.sax.helpers.AttributesImpl;
  
  
  
  1.5       +4 -5      xml-cocoon2/src/java/org/apache/cocoon/components/modules/output/RequestAttributeOutputModule.java
  
  Index: RequestAttributeOutputModule.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/modules/output/RequestAttributeOutputModule.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- RequestAttributeOutputModule.java	9 Aug 2002 08:32:10 -0000	1.4
  +++ RequestAttributeOutputModule.java	5 Dec 2002 10:10:46 -0000	1.5
  @@ -51,11 +51,10 @@
   
   package org.apache.cocoon.components.modules.output;
   
  -import java.util.Enumeration;
  -import java.util.Map;
  -import org.apache.cocoon.environment.Request;
  -import org.apache.cocoon.environment.ObjectModelHelper;
   import org.apache.avalon.framework.configuration.Configuration;
  +import org.apache.cocoon.environment.ObjectModelHelper;
  +
  +import java.util.Map;
   
   /**
    * Abstraction layer to encapsulate different output
  
  
  

----------------------------------------------------------------------
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


Mime
View raw message