You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by hg...@apache.org on 2003/09/22 11:18:21 UTC

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core OutputBuffer.java ServerSession.java Request.java

hgomez      2003/09/22 02:18:21

  Modified:    src/share/org/apache/tomcat/core OutputBuffer.java
                        ServerSession.java Request.java
  Log:
  Third batch of imports cleanup in TC 3.3.2-dev (tc-core)
  
  Revision  Changes    Path
  1.21      +4 -6      jakarta-tomcat/src/share/org/apache/tomcat/core/OutputBuffer.java
  
  Index: OutputBuffer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/OutputBuffer.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- OutputBuffer.java	17 Aug 2001 04:02:54 -0000	1.20
  +++ OutputBuffer.java	22 Sep 2003 09:18:21 -0000	1.21
  @@ -58,15 +58,13 @@
    */ 
   package org.apache.tomcat.core;
   
  -import java.io.Writer;
  -import java.io.OutputStream;
  -import java.io.OutputStreamWriter;
   import java.io.IOException;
  -import java.io.UnsupportedEncodingException;
  -
  +import java.io.Writer;
   import java.util.Hashtable;
   
  -import org.apache.tomcat.util.buf.*;
  +import org.apache.tomcat.util.buf.ByteChunk;
  +import org.apache.tomcat.util.buf.C2BConverter;
  +import org.apache.tomcat.util.buf.CharChunk;
   
   /**
    * The buffer used by tomcat response. It allows writting chars and
  
  
  
  1.15      +0 -4      jakarta-tomcat/src/share/org/apache/tomcat/core/ServerSession.java
  
  Index: ServerSession.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/ServerSession.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- ServerSession.java	10 Jan 2003 05:39:11 -0000	1.14
  +++ ServerSession.java	22 Sep 2003 09:18:21 -0000	1.15
  @@ -58,12 +58,8 @@
    */ 
   package org.apache.tomcat.core;
   
  -import java.io.IOException;
  -import java.io.ObjectInputStream;
  -import java.io.ObjectOutputStream;
   import java.util.Enumeration;
   import java.util.Hashtable;
  -import java.util.Vector;
   
   import org.apache.tomcat.util.buf.MessageBytes;
   import org.apache.tomcat.util.buf.TimeStamp;
  
  
  
  1.117     +10 -14    jakarta-tomcat/src/share/org/apache/tomcat/core/Request.java
  
  Index: Request.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/Request.java,v
  retrieving revision 1.116
  retrieving revision 1.117
  diff -u -r1.116 -r1.117
  --- Request.java	11 Jan 2003 03:00:06 -0000	1.116
  +++ Request.java	22 Sep 2003 09:18:21 -0000	1.117
  @@ -60,24 +60,20 @@
   
   package org.apache.tomcat.core;
   
  -import org.apache.tomcat.util.http.MimeHeaders;
  -import org.apache.tomcat.util.http.Parameters;
  -import org.apache.tomcat.util.http.ContentType;
  -import org.apache.tomcat.util.http.Cookies;
  -
  -import org.apache.tomcat.util.buf.*;
  -
  -
  -//import org.apache.tomcat.util.http.*;
  -
  -import java.security.Principal;
   import java.io.IOException;
  -import java.io.CharConversionException;
  +import java.security.Principal;
  +import java.text.DateFormat;
  +import java.text.SimpleDateFormat;
   import java.util.Enumeration;
   import java.util.Hashtable;
   import java.util.Locale;
  -import java.text.DateFormat;
  -import java.text.SimpleDateFormat;
  +
  +import org.apache.tomcat.util.buf.DateTool;
  +import org.apache.tomcat.util.buf.MessageBytes;
  +import org.apache.tomcat.util.buf.UDecoder;
  +import org.apache.tomcat.util.http.Cookies;
  +import org.apache.tomcat.util.http.MimeHeaders;
  +import org.apache.tomcat.util.http.Parameters;
   
   /**
    * This is a low-level, efficient representation of a server request. Most fields