tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hgo...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/aaa RealmBase.java
Date Mon, 29 Sep 2003 07:41:51 GMT
hgomez      2003/09/29 00:41:51

  Modified:    src/share/org/apache/tomcat/util/qlog Logger.java
                        QLogFactory.java
               src/share/org/apache/tomcat/util/io FileUtil.java
               src/share/org/apache/tomcat/modules/mappers
                        SimpleMapper1.java
               src/share/org/apache/tomcat/startup StopTomcat.java
               src/share/org/apache/tomcat/util/compat Jdk11Compat.java
                        Jdk12Support.java
               src/share/org/apache/tomcat/modules/loggers
                        AccessLogInterceptor.java
               src/share/org/apache/jasper/compiler Compiler.java
                        Parser.java
               src/share/org/apache/jasper/runtime JspFactoryImpl.java
               src/share/org/apache/jasper EmbededServletOptions.java
               src/share/org/apache/tomcat/modules/config ApacheConfig.java
                        PolicyInterceptor.java IISConfig.java
                        JservConfig.java BaseJkConfig.java NSConfig.java
               src/share/org/apache/tomcat/util JavaGeneratorTool.java
               src/share/org/apache/tomcat/util/test Report.java
               src/share/org/apache/tomcat/modules/aaa RealmBase.java
  Log:
  More imports cleaned (the wildcard for example)
  
  Revision  Changes    Path
  1.5       +10 -8     jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/Logger.java
  
  Index: Logger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/Logger.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Logger.java	30 Apr 2002 05:21:53 -0000	1.4
  +++ Logger.java	29 Sep 2003 07:41:50 -0000	1.5
  @@ -56,19 +56,21 @@
    */ 
   package org.apache.tomcat.util.qlog;
   
  -import org.apache.tomcat.util.log.*;
  -import java.io.Writer;
  -import java.io.PrintWriter;
  -import java.io.FileWriter;
   import java.io.File;
  -import java.io.OutputStreamWriter;
  +import java.io.FileWriter;
   import java.io.IOException;
  +import java.io.OutputStreamWriter;
  +import java.io.PrintWriter;
   import java.io.StringWriter;
  -import java.lang.reflect.*;
  -
  -import java.util.*;
  +import java.io.Writer;
  +import java.lang.reflect.Method;
   import java.text.DateFormat;
   import java.text.SimpleDateFormat;
  +import java.util.Date;
  +import java.util.TimeZone;
  +
  +import org.apache.tomcat.util.log.Log;
  +import org.apache.tomcat.util.log.LogHandler;
   
   /**
    * Interface for a logging object. A logging object provides mechanism
  
  
  
  1.3       +2 -3      jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/QLogFactory.java
  
  Index: QLogFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/QLogFactory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- QLogFactory.java	19 Dec 2002 08:07:02 -0000	1.2
  +++ QLogFactory.java	29 Sep 2003 07:41:50 -0000	1.3
  @@ -61,12 +61,11 @@
   import java.util.Enumeration;
   import java.util.Hashtable;
   import java.util.Vector;
  +
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogConfigurationException;
   import org.apache.commons.logging.LogFactory;
  -
  -
  -import org.apache.tomcat.util.log.*;
  +import org.apache.tomcat.util.log.LogManager;
       
   /**
    *
  
  
  
  1.12      +10 -5     jakarta-tomcat/src/share/org/apache/tomcat/util/io/FileUtil.java
  
  Index: FileUtil.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/io/FileUtil.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- FileUtil.java	14 Sep 2003 21:28:32 -0000	1.11
  +++ FileUtil.java	29 Sep 2003 07:41:50 -0000	1.12
  @@ -64,8 +64,13 @@
   
   package org.apache.tomcat.util.io;
   
  -import java.io.*;
  -import java.util.zip.*;
  +import java.io.File;
  +import java.io.FileInputStream;
  +import java.io.FileNotFoundException;
  +import java.io.FileOutputStream;
  +import java.io.IOException;
  +import java.util.zip.ZipEntry;
  +import java.util.zip.ZipInputStream;
   
   
   /*
  
  
  
  1.15      +11 -4     jakarta-tomcat/src/share/org/apache/tomcat/modules/mappers/SimpleMapper1.java
  
  Index: SimpleMapper1.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/mappers/SimpleMapper1.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- SimpleMapper1.java	16 Oct 2001 13:44:32 -0000	1.14
  +++ SimpleMapper1.java	29 Sep 2003 07:41:50 -0000	1.15
  @@ -59,12 +59,19 @@
   
   package org.apache.tomcat.modules.mappers;
   
  -import org.apache.tomcat.core.*;
  +import java.io.File;
  +import java.util.Enumeration;
  +import java.util.Hashtable;
  +
  +import org.apache.tomcat.core.BaseInterceptor;
  +import org.apache.tomcat.core.Container;
  +import org.apache.tomcat.core.Context;
  +import org.apache.tomcat.core.ContextManager;
  +import org.apache.tomcat.core.Request;
  +import org.apache.tomcat.core.TomcatException;
   import org.apache.tomcat.util.buf.MessageBytes;
  +import org.apache.tomcat.util.collections.SimpleHashtable;
   import org.apache.tomcat.util.io.FileUtil;
  -import org.apache.tomcat.util.collections.*;
  -import java.util.*;
  -import java.io.*;
   /**
    *  This class will set up the data structures used by a simple patern matching
    *  algorithm and use it to extract the path components from the request URI.
  
  
  
  1.17      +13 -4     jakarta-tomcat/src/share/org/apache/tomcat/startup/StopTomcat.java
  
  Index: StopTomcat.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/startup/StopTomcat.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- StopTomcat.java	8 Mar 2002 11:43:21 -0000	1.16
  +++ StopTomcat.java	29 Sep 2003 07:41:50 -0000	1.17
  @@ -58,11 +58,20 @@
    */
   package org.apache.tomcat.startup;
   
  -import org.apache.tomcat.util.res.StringManager;
  +import java.io.BufferedReader;
  +import java.io.File;
  +import java.io.FileInputStream;
  +import java.io.FileReader;
  +import java.io.IOException;
  +import java.io.OutputStream;
  +import java.net.InetAddress;
  +import java.net.Socket;
  +import java.net.UnknownHostException;
  +import java.util.Hashtable;
  +import java.util.Properties;
  +
   import org.apache.tomcat.util.IntrospectionUtils;
  -import java.io.*;
  -import java.net.*;
  -import java.util.*;
  +import org.apache.tomcat.util.res.StringManager;
   // Depends: StringManager, resources
   
   
  
  
  
  1.16      +4 -4      jakarta-tomcat/src/share/org/apache/tomcat/util/compat/Jdk11Compat.java
  
  Index: Jdk11Compat.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/compat/Jdk11Compat.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- Jdk11Compat.java	3 Dec 2002 07:31:41 -0000	1.15
  +++ Jdk11Compat.java	29 Sep 2003 07:41:50 -0000	1.16
  @@ -58,12 +58,12 @@
    */
   
   package org.apache.tomcat.util.compat;
  -import org.apache.tomcat.util.depend.*;
  -
  -import java.net.URL;
   import java.net.MalformedURLException;
  -import java.util.ResourceBundle;
  +import java.net.URL;
   import java.util.Locale;
  +import java.util.ResourceBundle;
  +
  +import org.apache.tomcat.util.depend.DependClassLoader;
   
   /** General-purpose utility to provide backward-compatibility and JDK
       independence. This allow use of JDK1.2 ( or higher ) facilities if
  
  
  
  1.13      +13 -5     jakarta-tomcat/src/share/org/apache/tomcat/util/compat/Jdk12Support.java
  
  Index: Jdk12Support.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/compat/Jdk12Support.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Jdk12Support.java	11 Oct 2002 16:38:40 -0000	1.12
  +++ Jdk12Support.java	29 Sep 2003 07:41:50 -0000	1.13
  @@ -60,12 +60,20 @@
   package org.apache.tomcat.util.compat;
   
   import java.io.ByteArrayInputStream;
  -import java.net.*;
  -import java.util.*;
  -import java.security.cert.X509Certificate;
  +import java.net.URL;
  +import java.net.URLClassLoader;
  +import java.security.AccessControlContext;
  +import java.security.AccessController;
  +import java.security.Policy;
  +import java.security.PrivilegedActionException;
  +import java.security.PrivilegedExceptionAction;
  +import java.security.ProtectionDomain;
   import java.security.cert.CertificateFactory;
  -import java.security.*;
  -import org.apache.tomcat.util.depend.*;
  +import java.security.cert.X509Certificate;
  +import java.util.Locale;
  +import java.util.ResourceBundle;
  +
  +import org.apache.tomcat.util.depend.DependClassLoader;
   
   /**
    *  
  
  
  
  1.11      +6 -3      jakarta-tomcat/src/share/org/apache/tomcat/modules/loggers/AccessLogInterceptor.java
  
  Index: AccessLogInterceptor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/loggers/AccessLogInterceptor.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- AccessLogInterceptor.java	26 Sep 2003 03:00:12 -0000	1.10
  +++ AccessLogInterceptor.java	29 Sep 2003 07:41:50 -0000	1.11
  @@ -2,9 +2,12 @@
   package org.apache.tomcat.modules.loggers;
   
   
  -import java.io.*;
  -import java.text.*;
  -import java.util.*;
  +import java.io.File;
  +import java.io.FileWriter;
  +import java.io.IOException;
  +import java.text.DateFormat;
  +import java.text.SimpleDateFormat;
  +import java.util.Calendar;
   
   import org.apache.tomcat.core.BaseInterceptor;
   import org.apache.tomcat.core.ContextManager;
  
  
  
  1.25      +9 -11     jakarta-tomcat/src/share/org/apache/jasper/compiler/Compiler.java
  
  Index: Compiler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/Compiler.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- Compiler.java	11 Jun 2001 03:42:27 -0000	1.24
  +++ Compiler.java	29 Sep 2003 07:41:50 -0000	1.25
  @@ -60,20 +60,18 @@
    */ 
   package org.apache.jasper.compiler;
   
  -import java.util.Hashtable;
  -import java.io.FileNotFoundException;
  -import java.io.File;
  -import java.io.PrintWriter;
   import java.io.ByteArrayOutputStream;
  +import java.io.File;
  +import java.io.FileNotFoundException;
   import java.io.FileOutputStream;
   import java.io.OutputStreamWriter;
  +import java.io.PrintWriter;
  +import java.util.Hashtable;
   
  -import org.apache.jasper.JspCompilationContext;
   import org.apache.jasper.Constants;
   import org.apache.jasper.JasperException;
  -import org.apache.jasper.compiler.ParseException;
  -
  -import org.apache.tomcat.util.log.*;
  +import org.apache.jasper.JspCompilationContext;
  +import org.apache.tomcat.util.log.Log;
   
   /**
    * If you want to customize JSP compilation aspects, this class is
  
  
  
  1.30      +7 -8      jakarta-tomcat/src/share/org/apache/jasper/compiler/Parser.java
  
  Index: Parser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/Parser.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- Parser.java	17 Dec 2001 05:21:58 -0000	1.29
  +++ Parser.java	29 Sep 2003 07:41:50 -0000	1.30
  @@ -54,18 +54,17 @@
    */ 
   package org.apache.jasper.compiler;
   
  -import java.util.Vector;
  -import java.util.Hashtable;
  -import java.util.Enumeration;
  -
   import java.io.CharArrayWriter;
  -import org.apache.jasper.JasperException;
  -import org.apache.jasper.Constants;
  +import java.util.Enumeration;
  +import java.util.Hashtable;
  +import java.util.Vector;
   
  -import javax.servlet.jsp.tagext.TagLibraryInfo;
   import javax.servlet.jsp.tagext.TagInfo;
  +import javax.servlet.jsp.tagext.TagLibraryInfo;
   
  -import org.apache.tomcat.util.log.*;
  +import org.apache.jasper.Constants;
  +import org.apache.jasper.JasperException;
  +import org.apache.tomcat.util.log.Log;
   
   /**
    * The class that parses the JSP input and calls the right methods on
  
  
  
  1.15      +5 -6      jakarta-tomcat/src/share/org/apache/jasper/runtime/JspFactoryImpl.java
  
  Index: JspFactoryImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/runtime/JspFactoryImpl.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- JspFactoryImpl.java	20 Oct 2001 02:53:39 -0000	1.14
  +++ JspFactoryImpl.java	29 Sep 2003 07:41:50 -0000	1.15
  @@ -63,13 +63,12 @@
   import javax.servlet.Servlet;
   import javax.servlet.ServletRequest;
   import javax.servlet.ServletResponse;
  -
  -import javax.servlet.jsp.JspFactory;
   import javax.servlet.jsp.JspEngineInfo;
  +import javax.servlet.jsp.JspFactory;
   import javax.servlet.jsp.PageContext;
   
   import org.apache.tomcat.util.collections.SimplePool;
  -import org.apache.tomcat.util.log.*;
  +import org.apache.tomcat.util.log.Log;
   
   /**
    * Implementation of JspFactory from the spec. Helps create
  
  
  
  1.9       +4 -4      jakarta-tomcat/src/share/org/apache/jasper/EmbededServletOptions.java
  
  Index: EmbededServletOptions.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/EmbededServletOptions.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- EmbededServletOptions.java	2 Mar 2001 04:51:24 -0000	1.8
  +++ EmbededServletOptions.java	29 Sep 2003 07:41:50 -0000	1.9
  @@ -66,7 +66,7 @@
   import javax.servlet.ServletConfig;
   import javax.servlet.ServletContext;
   
  -import org.apache.tomcat.util.log.*;
  +import org.apache.tomcat.util.log.Log;
   
   /**
    * A class to hold all init parameters specific to the JSP engine. 
  
  
  
  1.31      +15 -6     jakarta-tomcat/src/share/org/apache/tomcat/modules/config/ApacheConfig.java
  
  Index: ApacheConfig.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/config/ApacheConfig.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- ApacheConfig.java	17 Dec 2001 05:24:09 -0000	1.30
  +++ ApacheConfig.java	29 Sep 2003 07:41:50 -0000	1.31
  @@ -58,11 +58,20 @@
    */
   package org.apache.tomcat.modules.config;
   
  -import org.apache.tomcat.core.*;
  +import java.io.File;
  +import java.io.FileWriter;
  +import java.io.PrintWriter;
  +import java.util.Date;
  +import java.util.Enumeration;
  +import java.util.Hashtable;
  +import java.util.Vector;
  +
  +import org.apache.tomcat.core.Container;
  +import org.apache.tomcat.core.Context;
  +import org.apache.tomcat.core.ContextManager;
  +import org.apache.tomcat.core.TomcatException;
   import org.apache.tomcat.util.io.FileUtil;
  -import org.apache.tomcat.util.log.*;
  -import java.io.*;
  -import java.util.*;
  +import org.apache.tomcat.util.log.Log;
   
   /* The idea is to keep all configuration in server.xml and
      the normal apache config files. We don't want people to
  
  
  
  1.14      +19 -7     jakarta-tomcat/src/share/org/apache/tomcat/modules/config/PolicyInterceptor.java
  
  Index: PolicyInterceptor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/config/PolicyInterceptor.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- PolicyInterceptor.java	31 Jan 2002 03:49:55 -0000	1.13
  +++ PolicyInterceptor.java	29 Sep 2003 07:41:50 -0000	1.14
  @@ -59,14 +59,26 @@
   
   package org.apache.tomcat.modules.config;
   
  -import org.apache.tomcat.core.*;
  -import org.apache.tomcat.util.io.FileUtil;
  -import java.io.*;
  -import java.net.*;
  -import java.util.*;
  -import java.security.*;
  +import java.io.File;
  +import java.io.FilePermission;
  +import java.io.IOException;
  +import java.net.URL;
  +import java.security.AllPermission;
  +import java.security.CodeSource;
  +import java.security.Permission;
  +import java.security.PermissionCollection;
  +import java.security.Permissions;
  +import java.security.Policy;
  +import java.security.ProtectionDomain;
  +import java.util.Enumeration;
  +import java.util.PropertyPermission;
   
  -import org.apache.tomcat.util.log.*;
  +import org.apache.tomcat.core.BaseInterceptor;
  +import org.apache.tomcat.core.Context;
  +import org.apache.tomcat.core.ContextManager;
  +import org.apache.tomcat.core.TomcatException;
  +import org.apache.tomcat.util.io.FileUtil;
  +import org.apache.tomcat.util.log.Log;
   
   /**
    * Set policy-based access to tomcat.
  
  
  
  1.14      +12 -6     jakarta-tomcat/src/share/org/apache/tomcat/modules/config/IISConfig.java
  
  Index: IISConfig.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/config/IISConfig.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- IISConfig.java	24 Jan 2002 11:17:46 -0000	1.13
  +++ IISConfig.java	29 Sep 2003 07:41:50 -0000	1.14
  @@ -58,12 +58,18 @@
    */
   package org.apache.tomcat.modules.config;
   
  -import org.apache.tomcat.core.*;
  +import java.io.File;
  +import java.io.FileWriter;
  +import java.io.PrintWriter;
  +import java.util.Date;
  +import java.util.Enumeration;
  +
  +import org.apache.tomcat.core.Container;
  +import org.apache.tomcat.core.Context;
  +import org.apache.tomcat.core.ContextManager;
  +import org.apache.tomcat.core.TomcatException;
   import org.apache.tomcat.util.io.FileUtil;
  -//import org.apache.tomcat.util.*;
  -import org.apache.tomcat.util.log.*;
  -import java.io.*;
  -import java.util.*;
  +import org.apache.tomcat.util.log.Log;
   
   
   /**
  
  
  
  1.6       +14 -7     jakarta-tomcat/src/share/org/apache/tomcat/modules/config/JservConfig.java
  
  Index: JservConfig.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/config/JservConfig.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- JservConfig.java	17 Dec 2001 05:24:09 -0000	1.5
  +++ JservConfig.java	29 Sep 2003 07:41:50 -0000	1.6
  @@ -57,14 +57,21 @@
    */
   package org.apache.tomcat.modules.config;
   
  -import org.apache.tomcat.core.*;
  -import org.apache.tomcat.util.io.FileUtil;
  -import org.apache.tomcat.util.log.*;
  -import java.io.*;
  -import java.util.*;
  +import java.io.File;
  +import java.io.FileWriter;
  +import java.io.PrintWriter;
  +import java.util.Enumeration;
  +import java.util.Hashtable;
  +import java.util.Vector;
   
  -// Used to find Ajp1? connector port
  +import org.apache.tomcat.core.BaseInterceptor;
  +import org.apache.tomcat.core.Container;
  +import org.apache.tomcat.core.Context;
  +import org.apache.tomcat.core.ContextManager;
  +import org.apache.tomcat.core.TomcatException;
   import org.apache.tomcat.modules.server.Ajp12Interceptor;
  +import org.apache.tomcat.util.io.FileUtil;
  +import org.apache.tomcat.util.log.Log;
   
   /**
       Generates automatic apache mod_jserv configurations based on
  
  
  
  1.8       +10 -5     jakarta-tomcat/src/share/org/apache/tomcat/modules/config/BaseJkConfig.java
  
  Index: BaseJkConfig.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/config/BaseJkConfig.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- BaseJkConfig.java	21 Oct 2001 15:43:04 -0000	1.7
  +++ BaseJkConfig.java	29 Sep 2003 07:41:50 -0000	1.8
  @@ -58,11 +58,16 @@
    */
   package org.apache.tomcat.modules.config;
   
  -import org.apache.tomcat.core.*;
  -import org.apache.tomcat.util.io.FileUtil;
  -import java.io.*;
  +import java.io.File;
  +import java.io.PrintWriter;
   
  +import org.apache.tomcat.core.BaseInterceptor;
  +import org.apache.tomcat.core.Container;
  +import org.apache.tomcat.core.Context;
  +import org.apache.tomcat.core.ContextManager;
  +import org.apache.tomcat.core.TomcatException;
   import org.apache.tomcat.modules.server.Ajp13Interceptor;
  +import org.apache.tomcat.util.io.FileUtil;
   
   /**
       Base class for automatic jk based configurations based on
  
  
  
  1.11      +12 -5     jakarta-tomcat/src/share/org/apache/tomcat/modules/config/NSConfig.java
  
  Index: NSConfig.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/config/NSConfig.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- NSConfig.java	24 Jan 2002 11:17:46 -0000	1.10
  +++ NSConfig.java	29 Sep 2003 07:41:50 -0000	1.11
  @@ -58,11 +58,18 @@
    */
   package org.apache.tomcat.modules.config;
   
  -import org.apache.tomcat.core.*;
  +import java.io.File;
  +import java.io.FileWriter;
  +import java.io.PrintWriter;
  +import java.util.Date;
  +import java.util.Enumeration;
  +
  +import org.apache.tomcat.core.Container;
  +import org.apache.tomcat.core.Context;
  +import org.apache.tomcat.core.ContextManager;
  +import org.apache.tomcat.core.TomcatException;
   import org.apache.tomcat.util.io.FileUtil;
  -import org.apache.tomcat.util.log.*;
  -import java.io.*;
  -import java.util.*;
  +import org.apache.tomcat.util.log.Log;
   
   
   /**
  
  
  
  1.9       +3 -1      jakarta-tomcat/src/share/org/apache/tomcat/util/JavaGeneratorTool.java
  
  Index: JavaGeneratorTool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/JavaGeneratorTool.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- JavaGeneratorTool.java	13 Sep 2002 07:44:43 -0000	1.8
  +++ JavaGeneratorTool.java	29 Sep 2003 07:41:51 -0000	1.9
  @@ -55,7 +55,9 @@
   
   package org.apache.tomcat.util;
   
  -import java.io.*;
  +import java.io.File;
  +import java.io.FileInputStream;
  +import java.io.FileOutputStream;
   
   /** General-purpose utilities to help generation of syntetic java
    *  classes
  
  
  
  1.2       +3 -2      jakarta-tomcat/src/share/org/apache/tomcat/util/test/Report.java
  
  Index: Report.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/test/Report.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Report.java	17 Jul 2001 13:34:01 -0000	1.1
  +++ Report.java	29 Sep 2003 07:41:51 -0000	1.2
  @@ -58,8 +58,9 @@
    */ 
   package org.apache.tomcat.util.test;
   
  -import java.io.*;
  -import java.util.*;
  +import java.io.PrintWriter;
  +import java.util.Enumeration;
  +import java.util.Hashtable;
   
   public class Report  {
       // Defaults
  
  
  
  1.3       +11 -6     jakarta-tomcat/src/share/org/apache/tomcat/modules/aaa/RealmBase.java
  
  Index: RealmBase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/aaa/RealmBase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RealmBase.java	24 Aug 2001 03:25:18 -0000	1.2
  +++ RealmBase.java	29 Sep 2003 07:41:51 -0000	1.3
  @@ -61,11 +61,16 @@
   
   package org.apache.tomcat.modules.aaa;
   
  -import org.apache.tomcat.util.res.StringManager;
  -import org.apache.tomcat.core.*;
  -
   import java.security.MessageDigest;
   import java.security.Principal;
  +
  +import org.apache.tomcat.core.BaseInterceptor;
  +import org.apache.tomcat.core.Context;
  +import org.apache.tomcat.core.ContextManager;
  +import org.apache.tomcat.core.Request;
  +import org.apache.tomcat.core.Response;
  +import org.apache.tomcat.core.TomcatException;
  +import org.apache.tomcat.util.res.StringManager;
   
   /*
   *  Abstract Base class for Realms.
  
  
  

Mime
View raw message