summaryrefslogtreecommitdiff
path: root/libjava/javax
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-20 08:09:27 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-20 08:09:27 +0000
commit042d4db7ad312de1d64b02b958de0d692ee82bfd (patch)
tree3d774ff1b0b0d75208b4e54314d08803f0164dc1 /libjava/javax
parent38750fcd25f127210474de9b33528a6eb6fa3c4e (diff)
downloadgcc-042d4db7ad312de1d64b02b958de0d692ee82bfd.tar.gz
2004-10-20 Michael Koch <konqueror@gmx.de>
* java/sql/Timestamp.java, java/text/AttributedCharacterIterator.java, java/text/AttributedString.java, java/util/zip/CheckedOutputStream.java, java/util/zip/DeflaterOutputStream.java, java/util/zip/ZipFile.java, javax/crypto/Cipher.java, javax/crypto/ExemptionMechanismException.java, javax/crypto/SecretKey.java, javax/crypto/SecretKeyFactory.java, javax/naming/directory/ModificationItem.java, javax/naming/directory/SearchControls.java, javax/naming/event/NamingListener.java, javax/naming/ldap/Control.java, javax/naming/ldap/ExtendedResponse.java, javax/net/ssl/SSLSocketFactory.java: Reorganized imports and fixed copyright headers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89324 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/javax')
-rw-r--r--libjava/javax/crypto/Cipher.java1
-rw-r--r--libjava/javax/crypto/ExemptionMechanismException.java33
-rw-r--r--libjava/javax/crypto/SecretKey.java33
-rw-r--r--libjava/javax/crypto/SecretKeyFactory.java1
-rw-r--r--libjava/javax/naming/directory/ModificationItem.java1
-rw-r--r--libjava/javax/naming/directory/SearchControls.java1
-rw-r--r--libjava/javax/naming/event/NamingListener.java1
-rw-r--r--libjava/javax/naming/ldap/Control.java1
-rw-r--r--libjava/javax/naming/ldap/ExtendedResponse.java1
-rw-r--r--libjava/javax/net/ssl/SSLSocketFactory.java2
10 files changed, 35 insertions, 40 deletions
diff --git a/libjava/javax/crypto/Cipher.java b/libjava/javax/crypto/Cipher.java
index d768d6ad7d3..af7f2f24419 100644
--- a/libjava/javax/crypto/Cipher.java
+++ b/libjava/javax/crypto/Cipher.java
@@ -51,7 +51,6 @@ import java.security.cert.Certificate;
import java.security.cert.X509Certificate;
import java.security.spec.AlgorithmParameterSpec;
-import java.util.Enumeration;
import java.util.StringTokenizer;
import gnu.java.security.Engine;
diff --git a/libjava/javax/crypto/ExemptionMechanismException.java b/libjava/javax/crypto/ExemptionMechanismException.java
index 42e1c5e9b77..2c0665dc815 100644
--- a/libjava/javax/crypto/ExemptionMechanismException.java
+++ b/libjava/javax/crypto/ExemptionMechanismException.java
@@ -1,25 +1,22 @@
/* ExemptionMechanismException -- An error in an exemption mechanism.
Copyright (C) 2004 Free Software Foundation, Inc.
-This file is a part of GNU Classpath.
+This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or (at
-your option) any later version.
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
-You should have received a copy of the GNU General Public License along
-with GNU Classpath; if not, write to the
-
- Free Software Foundation, Inc.,
- 59 Temple Place, Suite 330,
- Boston, MA 02111-1307
- USA
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
@@ -29,14 +26,14 @@ combination.
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under terms
-of your choice, provided that you also meet, for each linked independent
-module, the terms and conditions of the license of that module. An
-independent module is a module which is not derived from or based on
-this library. If you modify this library, you may extend this exception
-to your version of the library, but you are not obligated to do so. If
-you do not wish to do so, delete this exception statement from your
-version. */
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
package javax.crypto;
diff --git a/libjava/javax/crypto/SecretKey.java b/libjava/javax/crypto/SecretKey.java
index 85529b94de2..ce7057e7092 100644
--- a/libjava/javax/crypto/SecretKey.java
+++ b/libjava/javax/crypto/SecretKey.java
@@ -1,25 +1,22 @@
/* SecretKey.java -- A key for symmetric cryptography.
Copyright (C) 2004 Free Software Foundation, Inc.
-This file is a part of GNU Classpath.
+This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or (at
-your option) any later version.
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
-You should have received a copy of the GNU General Public License along
-with GNU Classpath; if not, write to the
-
- Free Software Foundation, Inc.,
- 59 Temple Place, Suite 330,
- Boston, MA 02111-1307
- USA
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
@@ -29,14 +26,14 @@ combination.
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under terms
-of your choice, provided that you also meet, for each linked independent
-module, the terms and conditions of the license of that module. An
-independent module is a module which is not derived from or based on
-this library. If you modify this library, you may extend this exception
-to your version of the library, but you are not obligated to do so. If
-you do not wish to do so, delete this exception statement from your
-version. */
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version. */
package javax.crypto;
diff --git a/libjava/javax/crypto/SecretKeyFactory.java b/libjava/javax/crypto/SecretKeyFactory.java
index 92f18ec6659..d12e1b582e9 100644
--- a/libjava/javax/crypto/SecretKeyFactory.java
+++ b/libjava/javax/crypto/SecretKeyFactory.java
@@ -44,7 +44,6 @@ import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.security.Provider;
-import java.security.SecureRandom;
import java.security.Security;
import java.security.spec.KeySpec;
import java.security.spec.InvalidKeySpecException;
diff --git a/libjava/javax/naming/directory/ModificationItem.java b/libjava/javax/naming/directory/ModificationItem.java
index b32fd6f7aa5..6b9127df8f0 100644
--- a/libjava/javax/naming/directory/ModificationItem.java
+++ b/libjava/javax/naming/directory/ModificationItem.java
@@ -37,6 +37,7 @@ exception statement from your version. */
package javax.naming.directory;
+
import java.io.Serializable;
/**
diff --git a/libjava/javax/naming/directory/SearchControls.java b/libjava/javax/naming/directory/SearchControls.java
index 2b040d91fff..0bccb357f94 100644
--- a/libjava/javax/naming/directory/SearchControls.java
+++ b/libjava/javax/naming/directory/SearchControls.java
@@ -37,6 +37,7 @@ exception statement from your version. */
package javax.naming.directory;
+
import java.io.Serializable;
/**
diff --git a/libjava/javax/naming/event/NamingListener.java b/libjava/javax/naming/event/NamingListener.java
index 4a11c9f89c5..d75dd5b9316 100644
--- a/libjava/javax/naming/event/NamingListener.java
+++ b/libjava/javax/naming/event/NamingListener.java
@@ -37,6 +37,7 @@ exception statement from your version. */
package javax.naming.event;
+
import java.util.EventListener;
/**
diff --git a/libjava/javax/naming/ldap/Control.java b/libjava/javax/naming/ldap/Control.java
index ee29e586b7c..20ccafebe5e 100644
--- a/libjava/javax/naming/ldap/Control.java
+++ b/libjava/javax/naming/ldap/Control.java
@@ -37,6 +37,7 @@ exception statement from your version. */
package javax.naming.ldap;
+
import java.io.Serializable;
/**
diff --git a/libjava/javax/naming/ldap/ExtendedResponse.java b/libjava/javax/naming/ldap/ExtendedResponse.java
index d22e2274e6e..4815ad9ab22 100644
--- a/libjava/javax/naming/ldap/ExtendedResponse.java
+++ b/libjava/javax/naming/ldap/ExtendedResponse.java
@@ -37,6 +37,7 @@ exception statement from your version. */
package javax.naming.ldap;
+
import java.io.Serializable;
/**
diff --git a/libjava/javax/net/ssl/SSLSocketFactory.java b/libjava/javax/net/ssl/SSLSocketFactory.java
index 181ab18a1d2..3532164168b 100644
--- a/libjava/javax/net/ssl/SSLSocketFactory.java
+++ b/libjava/javax/net/ssl/SSLSocketFactory.java
@@ -40,9 +40,7 @@ package javax.net.ssl;
import java.io.IOException;
import java.net.Socket;
-import java.security.AccessController;
import java.security.KeyStore;
-import java.security.PrivilegedAction;
import java.security.Security;
import javax.net.SocketFactory;