X509Certificate.java: Explicitely import used classes.
authorMichael Koch <konqueror@gmx.de>
Tue, 17 Jun 2003 12:57:35 +0000 (12:57 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Tue, 17 Jun 2003 12:57:35 +0000 (12:57 +0000)
2003-06-17  Michael Koch  <konqueror@gmx.de>

* gnu/java/security/x509/X509Certificate.java:
Explicitely import used classes.

From-SVN: r68080

libjava/ChangeLog
libjava/gnu/java/security/x509/X509Certificate.java

index 40ac45f..2fd69fc 100644 (file)
@@ -1,5 +1,10 @@
 2003-06-17  Michael Koch  <konqueror@gmx.de>
 
+       * gnu/java/security/x509/X509Certificate.java:
+       Explicitely import used classes.
+
+2003-06-17  Michael Koch  <konqueror@gmx.de>
+
        * java/util/zip/ZipEntry.java,
        java/util/zip/ZipFile.java,
        java/util/zip/ZipInputStream.java,
index bb66f2e..ca4854c 100644 (file)
@@ -41,10 +41,13 @@ package gnu.java.security.x509;
 import java.io.ByteArrayInputStream;
 import java.io.InputStream;
 import java.io.IOException;
+import java.io.ObjectStreamException;
 import java.io.Serializable;
 
 import java.math.BigInteger;
 
+import java.net.InetAddress;
+
 import java.security.AlgorithmParameters;
 import java.security.InvalidKeyException;
 import java.security.KeyFactory;
@@ -421,7 +424,7 @@ public class X509Certificate extends java.security.cert.X509Certificate
     return subjectKey;
   }
 
-  public Object writeReplace() throws java.io.ObjectStreamException
+  public Object writeReplace() throws ObjectStreamException
   {
     return super.writeReplace();
   }
@@ -469,7 +472,7 @@ public class X509Certificate extends java.security.cert.X509Certificate
                   nameVal = new String((byte[]) name.getValue());
                   break;
                 case IP_ADDRESS:
-                  nameVal = java.net.InetAddress.getByAddress(
+                  nameVal = InetAddress.getByAddress(
                     (byte[]) name.getValue()).getHostAddress();
                   break;
                 case REGISTERED_ID: