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/crawler SimpleCocoonCrawlerImpl.java
Date Thu, 05 Dec 2002 09:27:51 GMT
cziegeler    2002/12/05 01:27:51

  Modified:    src/java/org/apache/cocoon/components/elementprocessor
                        CannotCreateElementProcessorException.java
                        ElementProcessorFactory.java ElementProcessor.java
               src/java/org/apache/cocoon/components/flow
                        AbstractInterpreter.java
               src/java/org/apache/cocoon/components LifecycleHelper.java
               src/java/org/apache/cocoon/caching
                        DeltaTimeCacheValidity.java
               src/java/org/apache/cocoon/components/browser
                        BrowserImpl.xsl
               src/java/org/apache/cocoon/components/deli DeliImpl.java
               src/java/org/apache/cocoon/components/crawler
                        SimpleCocoonCrawlerImpl.java
  Log:
  Removing unused imports
  
  Revision  Changes    Path
  1.2       +0 -4      xml-cocoon2/src/java/org/apache/cocoon/components/elementprocessor/CannotCreateElementProcessorException.java
  
  Index: CannotCreateElementProcessorException.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/elementprocessor/CannotCreateElementProcessorException.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CannotCreateElementProcessorException.java	6 Mar 2002 16:58:01 -0000	1.1
  +++ CannotCreateElementProcessorException.java	5 Dec 2002 09:27:50 -0000	1.2
  @@ -50,11 +50,7 @@
   */
   package org.apache.cocoon.components.elementprocessor;
   
  -import org.apache.cocoon.components.elementprocessor.types.*;
  -import java.lang.reflect.Constructor;
  -import java.lang.reflect.InvocationTargetException;
   
  -import java.util.*;
   
       /**
        * Exception to be thrown when an ElementProcessor cannot be created.
  
  
  
  1.3       +0 -6      xml-cocoon2/src/java/org/apache/cocoon/components/elementprocessor/ElementProcessorFactory.java
  
  Index: ElementProcessorFactory.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/elementprocessor/ElementProcessorFactory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ElementProcessorFactory.java	12 Aug 2002 07:50:53 -0000	1.2
  +++ ElementProcessorFactory.java	5 Dec 2002 09:27:50 -0000	1.3
  @@ -50,13 +50,7 @@
   */
   package org.apache.cocoon.components.elementprocessor;
   
  -import org.apache.avalon.framework.component.Component;
   
  -import org.apache.cocoon.components.elementprocessor.types.*;
  -import java.lang.reflect.Constructor;
  -import java.lang.reflect.InvocationTargetException;
  -
  -import java.util.*;
   
   /**
    * Create instances of specific ElementProcessor implementations to
  
  
  
  1.3       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/elementprocessor/ElementProcessor.java
  
  Index: ElementProcessor.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/elementprocessor/ElementProcessor.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ElementProcessor.java	12 Aug 2002 07:50:53 -0000	1.2
  +++ ElementProcessor.java	5 Dec 2002 09:27:50 -0000	1.3
  @@ -50,8 +50,8 @@
   */
   package org.apache.cocoon.components.elementprocessor;
   
  -import org.apache.avalon.framework.component.Component;
  -import org.apache.cocoon.components.elementprocessor.types.*;
  +import org.apache.cocoon.components.elementprocessor.types.Attribute;
  +
   import java.io.IOException;
   
   /**
  
  
  
  1.10      +13 -21    xml-cocoon2/src/java/org/apache/cocoon/components/flow/AbstractInterpreter.java
  
  Index: AbstractInterpreter.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/flow/AbstractInterpreter.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- AbstractInterpreter.java	1 Oct 2002 07:32:14 -0000	1.9
  +++ AbstractInterpreter.java	5 Dec 2002 09:27:50 -0000	1.10
  @@ -45,31 +45,23 @@
   */
   package org.apache.cocoon.components.flow;
   
  -import java.util.List;
  -import java.util.Iterator;
  -import java.util.HashMap;
  -import java.util.ArrayList;
  -import java.lang.System;
  -import java.io.InputStream;
  -
  -import org.apache.cocoon.environment.Source;
  -import org.apache.cocoon.environment.ForwardRedirector;
  -import org.apache.cocoon.environment.Environment;
  -import org.apache.cocoon.environment.Context;
  -import org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode;
  -import org.apache.cocoon.components.source.SourceFactory;
  -import org.apache.cocoon.Constants;
  -import org.apache.avalon.framework.thread.SingleThreaded;
  -import org.apache.avalon.framework.logger.AbstractLogEnabled;
  -import org.apache.avalon.framework.context.Contextualizable;
  +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.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.context.ContextException;
  -import org.apache.avalon.framework.component.Composable;
  -import org.apache.avalon.framework.component.ComponentManager;
  -import org.apache.avalon.framework.component.ComponentException;
  -import org.apache.avalon.framework.component.Component;
  +import org.apache.avalon.framework.context.Contextualizable;
  +import org.apache.avalon.framework.logger.AbstractLogEnabled;
  +import org.apache.avalon.framework.thread.SingleThreaded;
  +import org.apache.cocoon.Constants;
  +import org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode;
  +import org.apache.cocoon.environment.Context;
  +import org.apache.cocoon.environment.Environment;
  +
  +import java.util.ArrayList;
   
   /**
    * Abstract superclass for various scripting languages used by Cocoon
  
  
  
  1.3       +1 -2      xml-cocoon2/src/java/org/apache/cocoon/components/LifecycleHelper.java
  
  Index: LifecycleHelper.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/LifecycleHelper.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LifecycleHelper.java	31 Jul 2002 13:13:21 -0000	1.2
  +++ LifecycleHelper.java	5 Dec 2002 09:27:50 -0000	1.3
  @@ -64,7 +64,6 @@
   import org.apache.avalon.framework.logger.LogKitLogger;
   import org.apache.avalon.framework.parameters.Parameterizable;
   import org.apache.avalon.framework.parameters.Parameters;
  -import org.apache.avalon.framework.thread.ThreadSafe;
   
   import org.apache.avalon.excalibur.component.RoleManageable;
   import org.apache.avalon.excalibur.component.RoleManager;
  
  
  
  1.10      +1 -4      xml-cocoon2/src/java/org/apache/cocoon/caching/DeltaTimeCacheValidity.java
  
  Index: DeltaTimeCacheValidity.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/caching/DeltaTimeCacheValidity.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- DeltaTimeCacheValidity.java	28 May 2002 07:11:43 -0000	1.9
  +++ DeltaTimeCacheValidity.java	5 Dec 2002 09:27:50 -0000	1.10
  @@ -50,9 +50,6 @@
   */
   package org.apache.cocoon.caching;
   
  -import java.util.Date;
  -import java.lang.Math;
  -
   /**
    * A validation object that remains valid for a specified amount of time.
    *
  
  
  
  1.2       +0 -2      xml-cocoon2/src/java/org/apache/cocoon/components/browser/BrowserImpl.xsl
  
  Index: BrowserImpl.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/browser/BrowserImpl.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BrowserImpl.xsl	3 Jan 2002 12:31:09 -0000	1.1
  +++ BrowserImpl.xsl	5 Dec 2002 09:27:50 -0000	1.2
  @@ -16,13 +16,11 @@
   import java.util.Comparator;
   import java.util.HashMap;
   import java.util.ArrayList;
  -import java.util.Enumeration;
   import java.util.Iterator;
   import java.util.StringTokenizer;
   import java.util.Map.Entry;
   import org.w3c.dom.Document;
   import org.w3c.dom.Element;
  -import org.w3c.dom.Node;
   import org.w3c.dom.Text;
   
   import org.apache.avalon.framework.component.Component;
  
  
  
  1.20      +17 -27    xml-cocoon2/src/java/org/apache/cocoon/components/deli/DeliImpl.java
  
  Index: DeliImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/deli/DeliImpl.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- DeliImpl.java	31 Jul 2002 13:13:22 -0000	1.19
  +++ DeliImpl.java	5 Dec 2002 09:27:50 -0000	1.20
  @@ -50,54 +50,44 @@
   */
   package org.apache.cocoon.components.deli;
   
  +import com.hp.hpl.deli.Profile;
  +import com.hp.hpl.deli.ProfileAttribute;
  +import com.hp.hpl.deli.Workspace;
  +
   import org.apache.avalon.excalibur.xml.Parser;
  -import org.apache.avalon.framework.activity.Initializable;
   import org.apache.avalon.framework.activity.Disposable;
  +import org.apache.avalon.framework.activity.Initializable;
   import org.apache.avalon.framework.component.Component;
  -import org.apache.avalon.framework.component.Composable;
   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.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.Parameters;
   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.environment.http.HttpContext;
  -import org.apache.cocoon.environment.Request;
   import org.apache.cocoon.Constants;
  -
  -import java.util.Vector;
  -import java.util.Iterator;
  -import java.util.TreeSet;
  -import java.util.Enumeration;
  -import java.util.Locale;
  -import java.util.Map;
  -import java.util.Set;
  -import java.io.IOException;
  -import java.io.BufferedReader;
  -import java.net.MalformedURLException;
  -import java.security.Principal;
  -
  +import org.apache.cocoon.environment.Request;
   import org.w3c.dom.Document;
   import org.w3c.dom.Element;
  -import org.w3c.dom.Node;
   import org.w3c.dom.Text;
   
  -import javax.servlet.http.HttpServletRequest;
  -import javax.servlet.ServletRequest;
  +import javax.servlet.RequestDispatcher;
   import javax.servlet.Servlet;
  -import javax.servlet.ServletException;
   import javax.servlet.ServletContext;
  +import javax.servlet.ServletException;
   import javax.servlet.ServletInputStream;
  -import javax.servlet.RequestDispatcher;
   import javax.servlet.http.Cookie;
  +import javax.servlet.http.HttpServletRequest;
   import javax.servlet.http.HttpSession;
   
  -import com.hp.hpl.deli.Profile;
  -import com.hp.hpl.deli.ProfileAttribute;
  -import com.hp.hpl.deli.Workspace;
  +import java.io.BufferedReader;
  +import java.io.IOException;
  +import java.net.MalformedURLException;
  +import java.security.Principal;
  +import java.util.*;
   
   /**
    * Allows the use of <a href="http://www-uk.hpl.hp.com/people/marbut/">DELI</a>
  
  
  
  1.16      +6 -11     xml-cocoon2/src/java/org/apache/cocoon/components/crawler/SimpleCocoonCrawlerImpl.java
  
  Index: SimpleCocoonCrawlerImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/crawler/SimpleCocoonCrawlerImpl.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- SimpleCocoonCrawlerImpl.java	17 Aug 2002 04:04:11 -0000	1.15
  +++ SimpleCocoonCrawlerImpl.java	5 Dec 2002 09:27:50 -0000	1.16
  @@ -50,32 +50,27 @@
    */
   package org.apache.cocoon.components.crawler;
   
  +import org.apache.avalon.excalibur.pool.Recyclable;
   import org.apache.avalon.framework.activity.Disposable;
   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.avalon.framework.parameters.Parameters;
  -
  -import org.apache.avalon.excalibur.pool.Recyclable;
  -
   import org.apache.cocoon.Constants;
   import org.apache.cocoon.util.Tokenizer;
  -
   import org.apache.regexp.RE;
   import org.apache.regexp.RESyntaxException;
   
  -import java.io.InputStream;
   import java.io.BufferedReader;
  -import java.io.InputStreamReader;
   import java.io.IOException;
  +import java.io.InputStream;
  +import java.io.InputStreamReader;
   import java.net.URL;
   import java.net.URLConnection;
  -import java.net.HttpURLConnection;
  +import java.util.ArrayList;
   import java.util.HashSet;
   import java.util.Iterator;
   import java.util.List;
  -import java.util.ArrayList;
   
   /**
    * A simple cocoon crawler.
  
  
  

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