tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/jndi Handler.java
Date Fri, 04 Feb 2005 22:08:03 GMT
markt       2005/02/04 14:08:03

  Modified:    catalina/src/share/org/apache/naming
                        ContextAccessController.java EjbRef.java
                        JndiPermission.java
                        NamingContextBindingsEnumeration.java
                        NamingContextEnumeration.java ResourceEnvRef.java
                        ResourceLinkRef.java ResourceRef.java
                        StringManager.java TransactionRef.java
               catalina/src/share/org/apache/naming/factory
                        ResourceLinkFactory.java TyrexResourceFactory.java
                        TyrexTransactionFactory.java
               catalina/src/share/org/apache/naming/resources
                        BaseDirContext.java DirContextURLStreamHandler.java
                        DirContextURLStreamHandlerFactory.java
                        FileDirContext.java ProxyDirContext.java
                        RecyclableNamingEnumeration.java
                        ResourceAttributes.java
               catalina/src/share/org/apache/naming/resources/jndi
                        Handler.java
  Log:
  Remove unused imports (identified by Eclipse) from o.a.naming package.
  
  Revision  Changes    Path
  1.5       +1 -2      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/ContextAccessController.java
  
  Index: ContextAccessController.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/ContextAccessController.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ContextAccessController.java	26 Aug 2004 21:46:17 -0000	1.4
  +++ ContextAccessController.java	4 Feb 2005 22:08:02 -0000	1.5
  @@ -18,7 +18,6 @@
   package org.apache.naming;
   
   import java.util.Hashtable;
  -import javax.naming.NamingException;
   
   /**
    * Handles the access control on the JNDI contexts.
  
  
  
  1.4       +1 -2      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/EjbRef.java
  
  Index: EjbRef.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/EjbRef.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- EjbRef.java	26 Aug 2004 21:46:17 -0000	1.3
  +++ EjbRef.java	4 Feb 2005 22:08:02 -0000	1.4
  @@ -17,7 +17,6 @@
   
   package org.apache.naming;
   
  -import java.util.Hashtable;
   import javax.naming.Reference;
   import javax.naming.Context;
   import javax.naming.StringRefAddr;
  
  
  
  1.4       +1 -2      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/JndiPermission.java
  
  Index: JndiPermission.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/JndiPermission.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- JndiPermission.java	26 Aug 2004 21:46:17 -0000	1.3
  +++ JndiPermission.java	4 Feb 2005 22:08:02 -0000	1.4
  @@ -18,7 +18,6 @@
   package org.apache.naming;
   
   import java.security.BasicPermission;
  -import java.security.Permission;
   
   /**
    * Java SecurityManager Permission class for JNDI name based file resources
  
  
  
  1.3       +1 -2      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/NamingContextBindingsEnumeration.java
  
  Index: NamingContextBindingsEnumeration.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/NamingContextBindingsEnumeration.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- NamingContextBindingsEnumeration.java	26 Aug 2004 21:46:17 -0000	1.2
  +++ NamingContextBindingsEnumeration.java	4 Feb 2005 22:08:02 -0000	1.3
  @@ -17,7 +17,6 @@
   
   package org.apache.naming;
   
  -import java.util.Hashtable;
   import java.util.Vector;
   import java.util.Enumeration;
   import javax.naming.NamingException;
  
  
  
  1.3       +1 -2      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/NamingContextEnumeration.java
  
  Index: NamingContextEnumeration.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/NamingContextEnumeration.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- NamingContextEnumeration.java	26 Aug 2004 21:46:17 -0000	1.2
  +++ NamingContextEnumeration.java	4 Feb 2005 22:08:02 -0000	1.3
  @@ -17,7 +17,6 @@
   
   package org.apache.naming;
   
  -import java.util.Hashtable;
   import java.util.Vector;
   import java.util.Enumeration;
   import javax.naming.NamingException;
  
  
  
  1.3       +1 -3      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/ResourceEnvRef.java
  
  Index: ResourceEnvRef.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/ResourceEnvRef.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ResourceEnvRef.java	26 Aug 2004 21:46:17 -0000	1.2
  +++ ResourceEnvRef.java	4 Feb 2005 22:08:03 -0000	1.3
  @@ -17,10 +17,8 @@
   
   package org.apache.naming;
   
  -import java.util.Hashtable;
   import javax.naming.Reference;
   import javax.naming.Context;
  -import javax.naming.StringRefAddr;
   
   /**
    * Represents a reference address to a resource environment.
  
  
  
  1.3       +1 -2      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/ResourceLinkRef.java
  
  Index: ResourceLinkRef.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/ResourceLinkRef.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ResourceLinkRef.java	26 Aug 2004 21:46:17 -0000	1.2
  +++ ResourceLinkRef.java	4 Feb 2005 22:08:03 -0000	1.3
  @@ -17,7 +17,6 @@
   
   package org.apache.naming;
   
  -import java.util.Hashtable;
   import javax.naming.Reference;
   import javax.naming.Context;
   import javax.naming.StringRefAddr;
  
  
  
  1.4       +1 -2      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/ResourceRef.java
  
  Index: ResourceRef.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/ResourceRef.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ResourceRef.java	26 Aug 2004 21:46:17 -0000	1.3
  +++ ResourceRef.java	4 Feb 2005 22:08:03 -0000	1.4
  @@ -18,7 +18,6 @@
   package org.apache.naming;
   
   import java.util.Enumeration;
  -import java.util.Hashtable;
   import javax.naming.RefAddr;
   import javax.naming.Reference;
   import javax.naming.Context;
  
  
  
  1.3       +0 -1      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/StringManager.java
  
  Index: StringManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/StringManager.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- StringManager.java	26 Aug 2004 21:46:17 -0000	1.2
  +++ StringManager.java	4 Feb 2005 22:08:03 -0000	1.3
  @@ -19,7 +19,6 @@
   
   import java.text.MessageFormat;
   import java.util.Hashtable;
  -import java.util.Locale;
   import java.util.MissingResourceException;
   import java.util.ResourceBundle;
   
  
  
  
  1.3       +1 -3      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/TransactionRef.java
  
  Index: TransactionRef.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/TransactionRef.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TransactionRef.java	26 Aug 2004 21:46:17 -0000	1.2
  +++ TransactionRef.java	4 Feb 2005 22:08:03 -0000	1.3
  @@ -17,10 +17,8 @@
   
   package org.apache.naming;
   
  -import java.util.Hashtable;
   import javax.naming.Reference;
   import javax.naming.Context;
  -import javax.naming.StringRefAddr;
   
   /**
    * Represents a reference address to a transaction.
  
  
  
  1.5       +1 -3      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/ResourceLinkFactory.java
  
  Index: ResourceLinkFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/ResourceLinkFactory.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ResourceLinkFactory.java	26 Aug 2004 21:44:37 -0000	1.4
  +++ ResourceLinkFactory.java	4 Feb 2005 22:08:03 -0000	1.5
  @@ -18,8 +18,6 @@
   package org.apache.naming.factory;
   
   import java.util.Hashtable;
  -import java.sql.Driver;
  -import java.sql.DriverManager;
   import javax.naming.Name;
   import javax.naming.Context;
   import javax.naming.NamingException;
  
  
  
  1.3       +1 -6      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/TyrexResourceFactory.java
  
  Index: TyrexResourceFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/TyrexResourceFactory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TyrexResourceFactory.java	26 Aug 2004 21:44:37 -0000	1.2
  +++ TyrexResourceFactory.java	4 Feb 2005 22:08:03 -0000	1.3
  @@ -18,18 +18,13 @@
   package org.apache.naming.factory;
   
   import java.util.Hashtable;
  -import java.util.Iterator;
   import javax.naming.Name;
   import javax.naming.Context;
   import javax.naming.NamingException;
   import javax.naming.Reference;
   import javax.naming.RefAddr;
  -import javax.naming.spi.ObjectFactory;
  -import java.net.URL;
   import org.apache.naming.ResourceRef;
  -import tyrex.tm.TransactionDomain;
   import tyrex.resource.Resources;
  -import tyrex.resource.ResourceConfig;
   
   /**
    * Object factory for Tyrex Resources.<br>
  
  
  
  1.6       +1 -7      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java
  
  Index: TyrexTransactionFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/TyrexTransactionFactory.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TyrexTransactionFactory.java	26 Aug 2004 21:44:37 -0000	1.5
  +++ TyrexTransactionFactory.java	4 Feb 2005 22:08:03 -0000	1.6
  @@ -17,20 +17,14 @@
   
   package org.apache.naming.factory;
   
  -import java.net.URL;
   import java.util.Hashtable;
   import javax.naming.Name;
   import javax.naming.Context;
   import javax.naming.NamingException;
   import javax.naming.Reference;
  -import javax.naming.RefAddr;
  -import javax.naming.spi.ObjectFactory;
  -import javax.transaction.UserTransaction;
   
   import org.apache.naming.TransactionRef;
   
  -import tyrex.tm.TransactionDomain;
  -
   /**
    * Object factory for Tyrex User transactions.<br>
    * Tyrex is an open-source transaction manager, developed by Assaf Arkin and
  
  
  
  1.6       +1 -5      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/BaseDirContext.java
  
  Index: BaseDirContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/BaseDirContext.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- BaseDirContext.java	26 Aug 2004 21:45:38 -0000	1.5
  +++ BaseDirContext.java	4 Feb 2005 22:08:03 -0000	1.6
  @@ -18,17 +18,13 @@
   package org.apache.naming.resources;
   
   import java.util.Hashtable;
  -import java.util.HashMap;
   import javax.naming.Context;
   import javax.naming.Name;
   import javax.naming.NameParser;
   import javax.naming.NamingEnumeration;
   import javax.naming.NamingException;
  -import javax.naming.CompositeName;
  -import javax.naming.NameParser;
   import javax.naming.directory.DirContext;
   import javax.naming.directory.Attributes;
  -import javax.naming.directory.Attribute;
   import javax.naming.directory.ModificationItem;
   import javax.naming.directory.SearchControls;
   import org.apache.naming.StringManager;
  
  
  
  1.8       +1 -2      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/DirContextURLStreamHandler.java
  
  Index: DirContextURLStreamHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/DirContextURLStreamHandler.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- DirContextURLStreamHandler.java	26 Aug 2004 21:45:38 -0000	1.7
  +++ DirContextURLStreamHandler.java	4 Feb 2005 22:08:03 -0000	1.8
  @@ -21,7 +21,6 @@
   import java.net.URLStreamHandler;
   import java.io.IOException;
   import java.util.Hashtable;
  -import javax.naming.NamingException;
   import javax.naming.directory.DirContext;
   
   /**
  
  
  
  1.5       +1 -4      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/DirContextURLStreamHandlerFactory.java
  
  Index: DirContextURLStreamHandlerFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/DirContextURLStreamHandlerFactory.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DirContextURLStreamHandlerFactory.java	26 Aug 2004 21:45:38 -0000	1.4
  +++ DirContextURLStreamHandlerFactory.java	4 Feb 2005 22:08:03 -0000	1.5
  @@ -18,9 +18,6 @@
   
   import java.net.URLStreamHandler;
   import java.net.URLStreamHandlerFactory;
  -import java.io.IOException;
  -import javax.naming.NamingException;
  -import javax.naming.directory.DirContext;
   
   /**
    * Factory for Stream handlers to a JNDI directory context.
  
  
  
  1.17      +1 -11     jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/FileDirContext.java
  
  Index: FileDirContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/FileDirContext.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- FileDirContext.java	26 Aug 2004 21:45:38 -0000	1.16
  +++ FileDirContext.java	4 Feb 2005 22:08:03 -0000	1.17
  @@ -25,25 +25,15 @@
   import java.io.FileInputStream;
   import java.io.InputStream;
   import java.io.FileOutputStream;
  -import java.io.FileNotFoundException;
  -import java.io.OutputStream;
   import java.io.IOException;
  -import javax.naming.Context;
  -import javax.naming.Name;
  -import javax.naming.NameParser;
   import javax.naming.NamingEnumeration;
   import javax.naming.NamingException;
  -import javax.naming.CompositeName;
  -import javax.naming.NameParser;
   import javax.naming.OperationNotSupportedException;
   import javax.naming.NameAlreadyBoundException;
   import javax.naming.directory.DirContext;
   import javax.naming.directory.Attributes;
  -import javax.naming.directory.Attribute;
   import javax.naming.directory.ModificationItem;
   import javax.naming.directory.SearchControls;
  -import org.apache.naming.StringManager;
  -import org.apache.naming.NameParserImpl;
   import org.apache.naming.NamingEntry;
   import org.apache.naming.NamingContextBindingsEnumeration;
   import org.apache.naming.NamingContextEnumeration;
  
  
  
  1.17      +1 -3      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/ProxyDirContext.java
  
  Index: ProxyDirContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/ProxyDirContext.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- ProxyDirContext.java	26 Aug 2004 21:45:38 -0000	1.16
  +++ ProxyDirContext.java	4 Feb 2005 22:08:03 -0000	1.17
  @@ -18,7 +18,6 @@
   package org.apache.naming.resources;
   
   import java.util.Collections;
  -import java.util.Date;
   import java.util.Hashtable;
   import java.util.Map;
   import java.io.InputStream;
  @@ -33,7 +32,6 @@
   import javax.naming.NamingException;
   import javax.naming.directory.DirContext;
   import javax.naming.directory.Attributes;
  -import javax.naming.directory.Attribute;
   import javax.naming.directory.ModificationItem;
   import javax.naming.directory.SearchControls;
   
  
  
  
  1.3       +1 -3      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/RecyclableNamingEnumeration.java
  
  Index: RecyclableNamingEnumeration.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/RecyclableNamingEnumeration.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RecyclableNamingEnumeration.java	26 Aug 2004 21:45:38 -0000	1.2
  +++ RecyclableNamingEnumeration.java	4 Feb 2005 22:08:03 -0000	1.3
  @@ -17,12 +17,10 @@
   
   package org.apache.naming.resources;
   
  -import java.util.Hashtable;
   import java.util.Vector;
   import java.util.Enumeration;
   import javax.naming.NamingException;
   import javax.naming.NamingEnumeration;
  -import javax.naming.NameClassPair;
   
   /**
    * Naming enumeration implementation.
  
  
  
  1.7       +1 -6      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/ResourceAttributes.java
  
  Index: ResourceAttributes.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/ResourceAttributes.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ResourceAttributes.java	26 Aug 2004 21:45:38 -0000	1.6
  +++ ResourceAttributes.java	4 Feb 2005 22:08:03 -0000	1.7
  @@ -16,19 +16,14 @@
   
   package org.apache.naming.resources;
   
  -import java.util.Hashtable;
   import java.util.Vector;
  -import java.util.Enumeration;
   import java.util.Date;
  -import java.util.StringTokenizer;
   import java.util.Locale;
   import java.text.SimpleDateFormat;
  -import java.text.DateFormat;
   import java.text.ParseException;
   import javax.naming.NamingException;
   import javax.naming.NamingEnumeration;
   import javax.naming.directory.Attributes;
  -import javax.naming.directory.BasicAttributes;
   import javax.naming.directory.BasicAttribute;
   import javax.naming.directory.Attribute;
   
  
  
  
  1.3       +1 -9      jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/jndi/Handler.java
  
  Index: Handler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources/jndi/Handler.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Handler.java	26 Aug 2004 21:45:38 -0000	1.2
  +++ Handler.java	4 Feb 2005 22:08:03 -0000	1.3
  @@ -16,14 +16,6 @@
   
   package org.apache.naming.resources.jndi;
   
  -import java.net.URL;
  -import java.net.URLConnection;
  -import java.net.URLStreamHandler;
  -import java.io.IOException;
  -import java.util.Hashtable;
  -import javax.naming.NamingException;
  -import javax.naming.directory.DirContext;
  -
   import org.apache.naming.resources.DirContextURLStreamHandler;
   
   /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message