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/java/org/apache/cocoon/environment/http HttpEnvironment.java
Date Sun, 04 May 2003 20:24:47 GMT
cziegeler    2003/05/04 13:24:47

  Modified:    src/scratchpad/src/org/apache/cocoon/generation
                        JXFormsGenerator.java TraxGenerator.java
               src/java/org/apache/cocoon/selection
                        XPathExceptionSelector.java
               src/java/org/apache/cocoon/components/flow/javascript
                        ScriptablePointer.java
               src/java/org/apache/cocoon/components/treeprocessor/sitemap
                        MountNode.java
               src/java/org/apache/cocoon/environment/http
                        HttpEnvironment.java
  Log:
  Cleaning up code
  
  Revision  Changes    Path
  1.13      +0 -1      cocoon-2.1/src/scratchpad/src/org/apache/cocoon/generation/JXFormsGenerator.java
  
  Index: JXFormsGenerator.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/scratchpad/src/org/apache/cocoon/generation/JXFormsGenerator.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- JXFormsGenerator.java	4 May 2003 03:27:05 -0000	1.12
  +++ JXFormsGenerator.java	4 May 2003 20:24:47 -0000	1.13
  @@ -71,7 +71,6 @@
   import org.apache.commons.jxpath.JXPathContext;
   import org.apache.commons.jxpath.JXPathContextFactory;
   import org.apache.commons.jxpath.Pointer;
  -import org.apache.commons.jxpath.ri.model.NodePointer;
   import org.apache.excalibur.source.Source;
   import org.apache.excalibur.source.SourceException;
   import org.xml.sax.Attributes;
  
  
  
  1.4       +18 -22    cocoon-2.1/src/scratchpad/src/org/apache/cocoon/generation/TraxGenerator.java
  
  Index: TraxGenerator.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/scratchpad/src/org/apache/cocoon/generation/TraxGenerator.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TraxGenerator.java	3 May 2003 20:36:12 -0000	1.3
  +++ TraxGenerator.java	4 May 2003 20:24:47 -0000	1.4
  @@ -50,36 +50,32 @@
   */
   package org.apache.cocoon.generation;
   
  +import java.beans.PropertyDescriptor;
  +import java.io.IOException;
  +import java.lang.reflect.Method;
  +import java.util.HashMap;
  +import java.util.Map;
  +
  +import javax.xml.transform.TransformerException;
  +import javax.xml.transform.dom.DOMSource;
  +import javax.xml.transform.sax.SAXResult;
  +
  +import org.apache.avalon.framework.parameters.Parameters;
  +import org.apache.cocoon.ProcessingException;
   import org.apache.cocoon.components.flow.WebContinuation;
  +import org.apache.cocoon.components.jxdom.DocumentAdapter;
  +import org.apache.cocoon.environment.Context;
  +import org.apache.cocoon.environment.Environment;
   import org.apache.cocoon.environment.ObjectModelHelper;
   import org.apache.cocoon.environment.Request;
   import org.apache.cocoon.environment.Response;
  -import org.apache.cocoon.environment.Session;
  -import org.apache.cocoon.environment.Context;
  +import org.apache.cocoon.environment.SourceResolver;
   import org.apache.cocoon.transformation.TraxTransformer;
  -import org.apache.cocoon.ProcessingException;
  -import java.io.IOException;
  -import org.xml.sax.SAXException;
  -import javax.xml.transform.dom.DOMSource;
  -import javax.xml.transform.sax.SAXResult;
  -import javax.xml.transform.Transformer;
  -import javax.xml.transform.TransformerException;
  -import org.w3c.dom.Node;
  -import org.apache.cocoon.components.jxdom.DocumentAdapter;
   import org.apache.cocoon.xml.XMLConsumer;
  -import org.apache.commons.jxpath.JXPathIntrospector;
  -import org.apache.commons.jxpath.JXPathBeanInfo;
   import org.apache.commons.jxpath.DynamicPropertyHandler;
  -import org.apache.cocoon.environment.SourceResolver;
  -import org.apache.cocoon.environment.Environment;
  -import org.apache.avalon.framework.parameters.Parameters;
  -import org.apache.cocoon.ProcessingException;
  +import org.apache.commons.jxpath.JXPathBeanInfo;
  +import org.apache.commons.jxpath.JXPathIntrospector;
   import org.xml.sax.SAXException;
  -import java.io.IOException;
  -import java.util.Map;
  -import java.util.HashMap;
  -import java.beans.PropertyDescriptor;
  -import java.lang.reflect.Method;
   
   /**
    * <p>XSLT Generator: works by taking a Java Bean as an input "document"</p>
  
  
  
  1.2       +1 -2      cocoon-2.1/src/java/org/apache/cocoon/selection/XPathExceptionSelector.java
  
  Index: XPathExceptionSelector.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/selection/XPathExceptionSelector.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XPathExceptionSelector.java	29 Apr 2003 10:45:19 -0000	1.1
  +++ XPathExceptionSelector.java	4 May 2003 20:24:47 -0000	1.2
  @@ -59,7 +59,6 @@
   import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.configuration.ConfigurationException;
   import org.apache.avalon.framework.parameters.Parameters;
  -import org.apache.cocoon.environment.ObjectModelHelper;
   import org.apache.commons.jxpath.CompiledExpression;
   import org.apache.commons.jxpath.JXPathContext;
   
  
  
  
  1.4       +2 -3      cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript/ScriptablePointer.java
  
  Index: ScriptablePointer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript/ScriptablePointer.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ScriptablePointer.java	1 May 2003 09:32:34 -0000	1.3
  +++ ScriptablePointer.java	4 May 2003 20:24:47 -0000	1.4
  @@ -50,12 +50,11 @@
   import org.apache.commons.jxpath.ri.QName;
   import org.apache.commons.jxpath.ri.model.NodePointer;
   import org.apache.commons.jxpath.ri.model.beans.PropertyPointer;
  -import org.apache.commons.jxpath.ri.model.beans.PropertyOwnerPointer;
   import org.apache.commons.jxpath.ri.model.dynamic.DynamicPointer;
   import org.mozilla.javascript.NativeArray;
  -import org.mozilla.javascript.Wrapper;
   import org.mozilla.javascript.Scriptable;
   import org.mozilla.javascript.ScriptableObject;
  +import org.mozilla.javascript.Wrapper;
   
   /**
    *
  
  
  
  1.3       +1 -2      cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap/MountNode.java
  
  Index: MountNode.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap/MountNode.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MountNode.java	29 Apr 2003 10:45:20 -0000	1.2
  +++ MountNode.java	4 May 2003 20:24:47 -0000	1.3
  @@ -63,7 +63,6 @@
   import org.apache.cocoon.components.treeprocessor.TreeProcessor;
   import org.apache.cocoon.components.treeprocessor.variables.VariableResolver;
   import org.apache.cocoon.environment.Environment;
  -import org.apache.excalibur.source.Source;
   
   /**
    *
  
  
  
  1.6       +1 -2      cocoon-2.1/src/java/org/apache/cocoon/environment/http/HttpEnvironment.java
  
  Index: HttpEnvironment.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/environment/http/HttpEnvironment.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- HttpEnvironment.java	3 May 2003 18:34:41 -0000	1.5
  +++ HttpEnvironment.java	4 May 2003 20:24:47 -0000	1.6
  @@ -52,7 +52,6 @@
   
   import java.io.IOException;
   import java.net.MalformedURLException;
  -import java.net.URL;
   import java.util.Enumeration;
   
   import javax.servlet.ServletContext;
  
  
  

Mime
View raw message