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

Jean-Noel Rouvignac
16.57.2015 a41662c1136b2bb4a4198df89e0e87d2be3ef099
opendj-server-legacy/src/main/java/org/opends/server/protocols/asn1/GSERParser.java
@@ -22,13 +22,11 @@
 *
 *
 *      Copyright 2013-2014 Manuel Gaupp
 *      Copyright 2014 ForgeRock AS
 *      Copyright 2014-2015 ForgeRock AS
 *      Portions Copyright 2014 ForgeRock AS
 */
package org.opends.server.protocols.asn1;
import java.math.BigInteger;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@@ -36,8 +34,6 @@
import static org.opends.messages.ProtocolMessages.*;
import static org.forgerock.util.Reject.*;
/**
 * This class implements a parser for strings which are encoded using the
 * Generic String Encoding Rules (GSER) defined in RFC 3641.
@@ -50,9 +46,7 @@
{
  private String gserValue;
  private int pos;
  private int length;
  /**
@@ -184,7 +178,7 @@
   */
  public boolean hasNext()
  {
    return (pos < length);
    return pos < length;
  }