cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/source URLSource.java
Date Sat, 27 Apr 2002 18:32:45 GMT
vgritsenko    02/04/27 11:32:45

  Modified:    src/java/org/apache/cocoon/components/source URLSource.java
  Log:
  optimize imports
  
  Revision  Changes    Path
  1.17      +8 -21     xml-cocoon2/src/java/org/apache/cocoon/components/source/URLSource.java
  
  Index: URLSource.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/source/URLSource.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- URLSource.java	22 Apr 2002 10:55:00 -0000	1.16
  +++ URLSource.java	27 Apr 2002 18:32:45 -0000	1.17
  @@ -50,45 +50,32 @@
   */
   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.component.ComponentManager;
  +
   import org.apache.cocoon.ProcessingException;
   import org.apache.cocoon.ResourceNotFoundException;
  -import org.apache.cocoon.environment.ModifiableSource;
  -import org.apache.cocoon.util.ClassUtils;
  -import org.apache.cocoon.xml.XMLConsumer;
  -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 org.apache.excalibur.source.SourceParameters;
  +import org.apache.excalibur.source.SourceUtil;
  +
   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.net.JarURLConnection;
  +import java.net.URL;
  +import java.net.URLConnection;
   import java.util.Iterator;
  -import java.util.Properties;
   import java.util.jar.JarEntry;
  -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;
   
   /**
    * Description of a source which is described by an URL.
    *
    * @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
  - * @version CVS $Id: URLSource.java,v 1.16 2002/04/22 10:55:00 cziegeler Exp $
  + * @version CVS $Id: URLSource.java,v 1.17 2002/04/27 18:32:45 vgritsenko Exp $
    */
   
   public class URLSource extends AbstractStreamSource {
  
  
  

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