[Patch] javax.naming cleanup

Michael Koch konqueror@gmx.de
Thu Oct 21 20:51:00 GMT 2004


Hi list,


I just commited the attached patch to cleanup javax.naming.


Michael


2004-10-21  Michael Koch  <konqueror@gmx.de>

	* javax/naming/directory/BasicAttribute.java,
	javax/naming/directory/BasicAttributes.java,
	javax/naming/directory/InitialDirContext.java,
	javax/naming/event/NamingEvent.java,
	javax/naming/ldap/ControlFactory.java,
	javax/naming/ldap/ExtendedRequest.java,
	javax/naming/ldap/InitialLdapContext.java,
	javax/naming/ldap/LdapReferralException.java,
	javax/naming/spi/DirObjectFactory.java,
	javax/naming/spi/DirStateFactory.java,
	javax/naming/spi/DirectoryManager.java,
	javax/naming/spi/InitialContextFactory.java,
	javax/naming/spi/InitialContextFactoryBuilder.java,
	javax/naming/spi/NamingManager.java,
	javax/naming/spi/ObjectFactory.java,
	javax/naming/spi/ObjectFactoryBuilder.java,
	javax/naming/spi/StateFactory.java:
	Import cleanup.

-------------- next part --------------
Index: javax/naming/directory/BasicAttribute.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/directory/BasicAttribute.java,v
retrieving revision 1.3
diff -u -r1.3 BasicAttribute.java
--- javax/naming/directory/BasicAttribute.java	27 Jun 2003 13:06:50 -0000	1.3
+++ javax/naming/directory/BasicAttribute.java	21 Oct 2004 20:49:41 -0000
@@ -1,5 +1,5 @@
 /* BasicAttribute.java --
-   Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -40,12 +40,13 @@
 
 import java.util.NoSuchElementException;
 import java.util.Vector;
+
 import javax.naming.NamingEnumeration;
 import javax.naming.NamingException;
 import javax.naming.OperationNotSupportedException;
 
 /**
- * @author Tom Tromey <tromey@redhat.com>
+ * @author Tom Tromey (tromey@redhat.com)
  * @date June 20, 2001
  */
 public class BasicAttribute implements Attribute
Index: javax/naming/directory/BasicAttributes.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/directory/BasicAttributes.java,v
retrieving revision 1.3
diff -u -r1.3 BasicAttributes.java
--- javax/naming/directory/BasicAttributes.java	27 Jun 2003 13:06:50 -0000	1.3
+++ javax/naming/directory/BasicAttributes.java	21 Oct 2004 20:49:41 -0000
@@ -1,5 +1,5 @@
 /* BasicAttributes.java --
-   Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -40,11 +40,12 @@
 
 import java.util.NoSuchElementException;
 import java.util.Vector;
+
 import javax.naming.NamingEnumeration;
 import javax.naming.NamingException;
 
 /**
- * @author Tom Tromey <tromey@redhat.com>
+ * @author Tom Tromey (tromey@redhat.com)
  * @date June 22, 2001
  */
 public class BasicAttributes implements Attributes
Index: javax/naming/directory/InitialDirContext.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/directory/InitialDirContext.java,v
retrieving revision 1.5
diff -u -r1.5 InitialDirContext.java
--- javax/naming/directory/InitialDirContext.java	6 Dec 2003 08:41:36 -0000	1.5
+++ javax/naming/directory/InitialDirContext.java	21 Oct 2004 20:49:41 -0000
@@ -1,5 +1,5 @@
 /* InitialDirContext.java --
-   Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -39,6 +39,7 @@
 package javax.naming.directory;
 
 import java.util.Hashtable;
+
 import javax.naming.Context;
 import javax.naming.InitialContext;
 import javax.naming.Name;
@@ -48,7 +49,7 @@
 import javax.naming.NotContextException;
 
 /**
- * @author Tom Tromey <tromey@redhat.com>
+ * @author Tom Tromey (tromey@redhat.com)
  * @date June 25, 2001
  */
 public class InitialDirContext extends InitialContext implements DirContext
Index: javax/naming/event/NamingEvent.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/event/NamingEvent.java,v
retrieving revision 1.3
diff -u -r1.3 NamingEvent.java
--- javax/naming/event/NamingEvent.java	6 Dec 2003 08:41:37 -0000	1.3
+++ javax/naming/event/NamingEvent.java	21 Oct 2004 20:49:42 -0000
@@ -1,5 +1,5 @@
 /* NamingEvent.java --
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -39,13 +39,13 @@
 package javax.naming.event;
 
 import java.util.EventObject;
+
 import javax.naming.Binding;
  
 /**
- * @author Warren Levy <warrenl@redhat.com>
+ * @author Warren Levy (warrenl@redhat.com)
  * @date June 5, 2001
  */
-
 public class NamingEvent extends EventObject
 {
   public static final int OBJECT_ADDED = 0;
Index: javax/naming/ldap/ControlFactory.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/ldap/ControlFactory.java,v
retrieving revision 1.3
diff -u -r1.3 ControlFactory.java
--- javax/naming/ldap/ControlFactory.java	6 Dec 2003 08:41:37 -0000	1.3
+++ javax/naming/ldap/ControlFactory.java	21 Oct 2004 20:49:42 -0000
@@ -1,5 +1,5 @@
 /* ControlFactory.java --
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -40,11 +40,12 @@
 
 import java.util.Hashtable;
 import java.util.StringTokenizer;
+
 import javax.naming.Context;
 import javax.naming.NamingException;
 
 /**
- * @author Tom Tromey <tromey@redhat.com>
+ * @author Tom Tromey (tromey@redhat.com)
  * @date June 22, 2001
  */
 public abstract class ControlFactory
Index: javax/naming/ldap/ExtendedRequest.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/ldap/ExtendedRequest.java,v
retrieving revision 1.4
diff -u -r1.4 ExtendedRequest.java
--- javax/naming/ldap/ExtendedRequest.java	6 Dec 2003 08:41:37 -0000	1.4
+++ javax/naming/ldap/ExtendedRequest.java	21 Oct 2004 20:49:42 -0000
@@ -1,5 +1,5 @@
 /* ExtendedRequest.java --
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -39,13 +39,13 @@
 package javax.naming.ldap;
 
 import java.io.Serializable;
+
 import javax.naming.NamingException;
  
 /**
- * @author Warren Levy <warrenl@redhat.com>
+ * @author Warren Levy (warrenl@redhat.com)
  * @date June 1, 2001
  */
-
 public interface ExtendedRequest extends Serializable
 {
   String getID();
Index: javax/naming/ldap/InitialLdapContext.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/ldap/InitialLdapContext.java,v
retrieving revision 1.3
diff -u -r1.3 InitialLdapContext.java
--- javax/naming/ldap/InitialLdapContext.java	6 Dec 2003 08:41:37 -0000	1.3
+++ javax/naming/ldap/InitialLdapContext.java	21 Oct 2004 20:49:42 -0000
@@ -1,5 +1,5 @@
 /* InitialLdapContext.java --
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -39,6 +39,7 @@
 package javax.naming.ldap;
 
 import java.util.Hashtable;
+
 import javax.naming.Context;
 import javax.naming.NamingException;
 import javax.naming.NoInitialContextException;
@@ -46,7 +47,7 @@
 import javax.naming.directory.InitialDirContext;
 
 /**
- * @author Tom Tromey <tromey@redhat.com>
+ * @author Tom Tromey (tromey@redhat.com)
  * @date June 21, 2001
  */
 public class InitialLdapContext
Index: javax/naming/ldap/LdapReferralException.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/ldap/LdapReferralException.java,v
retrieving revision 1.3
diff -u -r1.3 LdapReferralException.java
--- javax/naming/ldap/LdapReferralException.java	6 Dec 2003 08:41:37 -0000	1.3
+++ javax/naming/ldap/LdapReferralException.java	21 Oct 2004 20:49:42 -0000
@@ -1,5 +1,5 @@
 /* LdapReferralException.java --
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -39,15 +39,15 @@
 package javax.naming.ldap;
 
 import java.util.Hashtable;
+
 import javax.naming.Context;
 import javax.naming.NamingException;
 import javax.naming.ReferralException;
  
 /**
- * @author Warren Levy <warrenl@redhat.com>
+ * @author Warren Levy (warrenl@redhat.com)
  * @date June 1, 2001
  */
-
 public abstract class LdapReferralException extends ReferralException
 {
   protected LdapReferralException()
Index: javax/naming/spi/DirObjectFactory.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/spi/DirObjectFactory.java,v
retrieving revision 1.4
diff -u -r1.4 DirObjectFactory.java
--- javax/naming/spi/DirObjectFactory.java	6 Dec 2003 08:41:38 -0000	1.4
+++ javax/naming/spi/DirObjectFactory.java	21 Oct 2004 20:49:42 -0000
@@ -1,5 +1,5 @@
 /* DirObjectFactory.java --
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -39,15 +39,15 @@
 package javax.naming.spi;
 
 import java.util.Hashtable;
+
 import javax.naming.Context;
 import javax.naming.Name;
 import javax.naming.directory.Attributes;
  
 /**
- * @author Warren Levy <warrenl@redhat.com>
+ * @author Warren Levy (warrenl@redhat.com)
  * @date June 1, 2001
  */
-
 public interface DirObjectFactory extends ObjectFactory
 {
   Object getObjectInstance(Object obj, Name name, Context nameCtx,
Index: javax/naming/spi/DirStateFactory.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/spi/DirStateFactory.java,v
retrieving revision 1.5
diff -u -r1.5 DirStateFactory.java
--- javax/naming/spi/DirStateFactory.java	20 Apr 2004 21:25:15 -0000	1.5
+++ javax/naming/spi/DirStateFactory.java	21 Oct 2004 20:49:42 -0000
@@ -39,16 +39,16 @@
 package javax.naming.spi;
 
 import java.util.Hashtable;
+
 import javax.naming.Context;
 import javax.naming.Name;
 import javax.naming.NamingException;
 import javax.naming.directory.Attributes;
  
 /**
- * @author Warren Levy <warrenl@redhat.com>
+ * @author Warren Levy (warrenl@redhat.com)
  * @date June 1, 2001
  */
-
 public interface DirStateFactory extends StateFactory
 {
   // Inner class
Index: javax/naming/spi/DirectoryManager.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/spi/DirectoryManager.java,v
retrieving revision 1.3
diff -u -r1.3 DirectoryManager.java
--- javax/naming/spi/DirectoryManager.java	6 Dec 2003 08:41:38 -0000	1.3
+++ javax/naming/spi/DirectoryManager.java	21 Oct 2004 20:49:42 -0000
@@ -1,5 +1,5 @@
 /* DirectoryManager.java --
-   Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -41,6 +41,7 @@
 import java.util.Enumeration;
 import java.util.Hashtable;
 import java.util.StringTokenizer;
+
 import javax.naming.CannotProceedException;
 import javax.naming.Context;
 import javax.naming.Name;
Index: javax/naming/spi/InitialContextFactory.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/spi/InitialContextFactory.java,v
retrieving revision 1.3
diff -u -r1.3 InitialContextFactory.java
--- javax/naming/spi/InitialContextFactory.java	11 Oct 2003 19:06:23 -0000	1.3
+++ javax/naming/spi/InitialContextFactory.java	21 Oct 2004 20:49:42 -0000
@@ -1,5 +1,5 @@
 /* InitialContextFactory.java --
-   Copyright (C) 2000 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -39,6 +39,7 @@
 package javax.naming.spi;
 
 import java.util.Hashtable;
+
 import javax.naming.Context;
 import javax.naming.NamingException;
 
Index: javax/naming/spi/InitialContextFactoryBuilder.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/spi/InitialContextFactoryBuilder.java,v
retrieving revision 1.3
diff -u -r1.3 InitialContextFactoryBuilder.java
--- javax/naming/spi/InitialContextFactoryBuilder.java	11 Oct 2003 19:06:23 -0000	1.3
+++ javax/naming/spi/InitialContextFactoryBuilder.java	21 Oct 2004 20:49:42 -0000
@@ -1,5 +1,5 @@
 /* InitialContextFactoryBuilder.java --
-   Copyright (C) 2000 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -39,6 +39,7 @@
 package javax.naming.spi;
 
 import java.util.Hashtable;
+
 import javax.naming.NamingException;
 
 public interface InitialContextFactoryBuilder
Index: javax/naming/spi/NamingManager.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/spi/NamingManager.java,v
retrieving revision 1.10
diff -u -r1.10 NamingManager.java
--- javax/naming/spi/NamingManager.java	18 Oct 2004 10:23:59 -0000	1.10
+++ javax/naming/spi/NamingManager.java	21 Oct 2004 20:49:42 -0000
@@ -1,5 +1,5 @@
 /* NamingManager.java --
-   Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001, 2002, 2003, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -41,6 +41,7 @@
 import java.util.Enumeration;
 import java.util.Hashtable;
 import java.util.StringTokenizer;
+
 import javax.naming.CannotProceedException;
 import javax.naming.Context;
 import javax.naming.Name;
Index: javax/naming/spi/ObjectFactory.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/spi/ObjectFactory.java,v
retrieving revision 1.4
diff -u -r1.4 ObjectFactory.java
--- javax/naming/spi/ObjectFactory.java	11 Oct 2003 19:06:23 -0000	1.4
+++ javax/naming/spi/ObjectFactory.java	21 Oct 2004 20:49:42 -0000
@@ -1,5 +1,5 @@
 /* ObjectFactory.java --
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -39,6 +39,7 @@
 package javax.naming.spi;
 
 import java.util.Hashtable;
+
 import javax.naming.Context;
 import javax.naming.Name;
 
Index: javax/naming/spi/ObjectFactoryBuilder.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/spi/ObjectFactoryBuilder.java,v
retrieving revision 1.4
diff -u -r1.4 ObjectFactoryBuilder.java
--- javax/naming/spi/ObjectFactoryBuilder.java	6 Dec 2003 08:41:38 -0000	1.4
+++ javax/naming/spi/ObjectFactoryBuilder.java	21 Oct 2004 20:49:42 -0000
@@ -1,5 +1,5 @@
 /* ObjectFactoryBuilder.java --
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -39,13 +39,13 @@
 package javax.naming.spi;
 
 import java.util.Hashtable;
+
 import javax.naming.NamingException;
  
 /**
- * @author Warren Levy <warrenl@redhat.com>
+ * @author Warren Levy (warrenl@redhat.com)
  * @date June 1, 2001
  */
-
 public interface ObjectFactoryBuilder
 {
   ObjectFactory createObjectFactory(Object obj,
Index: javax/naming/spi/StateFactory.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/naming/spi/StateFactory.java,v
retrieving revision 1.4
diff -u -r1.4 StateFactory.java
--- javax/naming/spi/StateFactory.java	6 Dec 2003 08:41:38 -0000	1.4
+++ javax/naming/spi/StateFactory.java	21 Oct 2004 20:49:42 -0000
@@ -1,5 +1,5 @@
 /* StateFactory.java --
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -39,15 +39,15 @@
 package javax.naming.spi;
 
 import java.util.Hashtable;
+
 import javax.naming.Context;
 import javax.naming.Name;
 import javax.naming.NamingException;
  
 /**
- * @author Warren Levy <warrenl@redhat.com>
+ * @author Warren Levy (warrenl@redhat.com)
  * @date June 1, 2001
  */
-
 public interface StateFactory
 {
   Object getStateToBind(Object obj, Name name, Context nameCtx,


More information about the Java-patches mailing list