mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

boli
01.27.2007 455897cc245b67d929f409a93cfa7106e835cc1f
opends/src/server/org/opends/server/protocols/asn1/ASN1Null.java
@@ -22,13 +22,12 @@
 * CDDL HEADER END
 *
 *
 *      Portions Copyright 2006 Sun Microsystems, Inc.
 *      Portions Copyright 2006-2007 Sun Microsystems, Inc.
 */
package org.opends.server.protocols.asn1;
import static org.opends.server.loggers.Debug.*;
import static org.opends.server.messages.MessageHandler.*;
import static org.opends.server.messages.ProtocolMessages.*;
import static org.opends.server.protocols.asn1.ASN1Constants.*;
@@ -44,11 +43,6 @@
public class ASN1Null
       extends ASN1Element
{
  /**
   * The fully-qualified name of this class for debugging purposes.
   */
  private static final String CLASS_NAME =
       "org.opends.server.protocols.asn1.ASN1Null";
@@ -69,7 +63,6 @@
  {
    super(UNIVERSAL_NULL_TYPE);
    assert debugConstructor(CLASS_NAME);
  }
@@ -83,7 +76,6 @@
  {
    super(type);
    assert debugConstructor(CLASS_NAME, byteToHex(type));
  }
@@ -98,7 +90,6 @@
  public void setValue(byte[] value)
         throws ASN1Exception
  {
    assert debugEnter(CLASS_NAME, "setValue", bytesToHex(value));
    if ((value != null) && (value.length != 0))
    {
@@ -123,7 +114,6 @@
  public static ASN1Null decodeAsNull(ASN1Element element)
         throws ASN1Exception
  {
    assert debugEnter(CLASS_NAME, "decodeAsNull", String.valueOf(element));
    if (element == null)
    {
@@ -158,8 +148,6 @@
  public static ASN1Null decodeAsNull(byte[] encodedElement)
         throws ASN1Exception
  {
    assert debugEnter(CLASS_NAME, "decodeAsNull",
                      bytesToHex(encodedElement));
    // First make sure that the array is not null and long enough to contain
    // a valid ASN.1 null element.
@@ -242,7 +230,6 @@
   */
  public void toString(StringBuilder buffer)
  {
    assert debugEnter(CLASS_NAME, "toString", "java.lang.StringBuilder");
    buffer.append("ASN1Null(type=");
    buffer.append(byteToHex(getType()));
@@ -262,8 +249,6 @@
   */
  public void toString(StringBuilder buffer, int indent)
  {
    assert debugEnter(CLASS_NAME, "toString", "java.lang.StringBuilder",
                      String.valueOf(indent));
    StringBuilder indentBuf = new StringBuilder(indent);
    for (int i=0 ; i < indent; i++)