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

Jean-Noel Rouvignac
06.46.2014 d595095e07d7f2956eacca6b4387391c3ae38d27
OPENDJ-1307 Migrate server ASN1 classes to SDK

ByteSequenceOutputStream.java:
Updated the code after non backward compatible change (renamed ByteStringBuilder.clear()) to opendj-core in r10287.
1 files modified
9 ■■■■ changed files
opendj3-server-dev/src/server/org/opends/server/protocols/asn1/ByteSequenceOutputStream.java 9 ●●●● patch | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/protocols/asn1/ByteSequenceOutputStream.java
@@ -111,14 +111,7 @@
   */
  void reset()
  {
    if (buffer.capacity() > maxInternalBufferSize)
    {
      buffer.clear(BUFFER_INIT_SIZE);
    }
    else
    {
      buffer.clear();
    }
    buffer.clearAndTruncate(maxInternalBufferSize, BUFFER_INIT_SIZE);
  }
  /**