From 9fdb95ca9c3c8e3524845760b81a85c7a4c81a45 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 04 Dec 2009 11:49:33 +0000
Subject: [PATCH] Drop util package: move ByteString hierarchy into top level sdk package and other "internal" classes to com.sun.*. Move messages into their own package. Clean up imports.

---
 sdk/src/org/opends/sdk/asn1/ASN1.java |   29 +++++++++++++++++------------
 1 files changed, 17 insertions(+), 12 deletions(-)

diff --git a/sdk/src/org/opends/sdk/asn1/ASN1.java b/sdk/src/org/opends/sdk/asn1/ASN1.java
index c263d88..231e520 100644
--- a/sdk/src/org/opends/sdk/asn1/ASN1.java
+++ b/sdk/src/org/opends/sdk/asn1/ASN1.java
@@ -32,13 +32,18 @@
 import java.io.InputStream;
 import java.io.OutputStream;
 
-import org.opends.sdk.util.*;
+import org.opends.sdk.ByteSequence;
+import org.opends.sdk.ByteSequenceReader;
+import org.opends.sdk.ByteString;
+import org.opends.sdk.ByteStringBuilder;
+
+import com.sun.opends.sdk.util.ByteSequenceOutputStream;
 
 
 /**
  * This class contains various static factory methods for creating ASN.1
  * readers and writers.
- * 
+ *
  * @see ASN1Reader
  * @see ASN1Writer
  */
@@ -48,7 +53,7 @@
   /**
    * Returns an ASN.1 reader whose source is the provided byte array and
    * having an unlimited maximum BER element size.
-   * 
+   *
    * @param array
    *          The byte array to use.
    * @return The new ASN.1 reader.
@@ -63,7 +68,7 @@
   /**
    * Returns an ASN.1 reader whose source is the provided byte array and
    * having a user defined maximum BER element size.
-   * 
+   *
    * @param array
    *          The byte array to use.
    * @param maxElementSize
@@ -81,7 +86,7 @@
   /**
    * Returns an ASN.1 reader whose source is the provided byte sequence
    * and having an unlimited maximum BER element size.
-   * 
+   *
    * @param sequence
    *          The byte sequence to use.
    * @return The new ASN.1 reader.
@@ -96,7 +101,7 @@
   /**
    * Returns an ASN.1 reader whose source is the provided byte sequence
    * and having a user defined maximum BER element size.
-   * 
+   *
    * @param sequence
    *          The byte sequence to use.
    * @param maxElementSize
@@ -116,7 +121,7 @@
   /**
    * Returns an ASN.1 reader whose source is the provided byte sequence
    * reader and having an unlimited maximum BER element size.
-   * 
+   *
    * @param reader
    *          The byte sequence reader to use.
    * @return The new ASN.1 reader.
@@ -131,7 +136,7 @@
   /**
    * Returns an ASN.1 reader whose source is the provided byte sequence
    * reader and having a user defined maximum BER element size.
-   * 
+   *
    * @param reader
    *          The byte sequence reader to use.
    * @param maxElementSize
@@ -150,7 +155,7 @@
   /**
    * Returns an ASN.1 reader whose source is the provided input stream
    * and having an unlimited maximum BER element size.
-   * 
+   *
    * @param stream
    *          The input stream to use.
    * @return The new ASN.1 reader.
@@ -165,7 +170,7 @@
   /**
    * Returns an ASN.1 reader whose source is the provided input stream
    * and having a user defined maximum BER element size.
-   * 
+   *
    * @param stream
    *          The input stream to use.
    * @param maxElementSize
@@ -184,7 +189,7 @@
   /**
    * Returns an ASN.1 writer whose destination is the provided byte
    * string builder.
-   * 
+   *
    * @param builder
    *          The byte string builder to use.
    * @return The new ASN.1 writer.
@@ -201,7 +206,7 @@
   /**
    * Returns an ASN.1 writer whose destination is the provided output
    * stream.
-   * 
+   *
    * @param stream
    *          The output stream to use.
    * @return The new ASN.1 writer.

--
Gitblit v1.10.0