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

matthew_swift
28.47.2010 cc556edc003e4fb8df13611167fab0d9fd3890f9
opendj-sdk/sdk/src/org/opends/sdk/asn1/AbstractASN1Reader.java
@@ -29,7 +29,7 @@
import static com.sun.opends.sdk.messages.Messages.*;
import static com.sun.opends.sdk.messages.Messages.ERR_ASN1_UNEXPECTED_TAG;
import static org.opends.sdk.asn1.ASN1Constants.*;
import java.io.IOException;
@@ -41,7 +41,6 @@
/**
 * An abstract {@code ASN1Reader} which can be used as the basis for
 * implementing new ASN1 reader implementations.
@@ -137,7 +136,7 @@
   * {@inheritDoc}
   */
  public ByteStringBuilder readOctetString(byte type,
      ByteStringBuilder builder) throws IOException
      final ByteStringBuilder builder) throws IOException
  {
    if (type == 0x00)
    {
@@ -199,12 +198,12 @@
  private void checkType(byte expectedType) throws IOException
  private void checkType(final byte expectedType) throws IOException
  {
    if (peekType() != expectedType)
    {
      LocalizableMessage message = ERR_ASN1_UNEXPECTED_TAG.get(expectedType,
          peekType());
      final LocalizableMessage message = ERR_ASN1_UNEXPECTED_TAG.get(
          expectedType, peekType());
      throw DecodeException.fatalError(message);
    }
  }