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

Jean-Noel Rouvignac
16.57.2015 a41662c1136b2bb4a4198df89e0e87d2be3ef099
opendj-server-legacy/src/main/java/org/opends/server/schema/AuthPasswordSyntax.java
@@ -122,7 +122,7 @@
    // First, ignore any leading whitespace.
    int length = authPasswordValue.length();
    int  pos   = 0;
    while ((pos < length) && (authPasswordValue.charAt(pos) == ' '))
    while (pos < length && authPasswordValue.charAt(pos) == ' ')
    {
      pos++;
    }
@@ -204,12 +204,12 @@
    // Ignore any spaces before the dollar sign separator.  Then read the dollar
    // sign and ignore any trailing spaces.
    while ((pos < length) && (authPasswordValue.charAt(pos) == ' '))
    while (pos < length && authPasswordValue.charAt(pos) == ' ')
    {
      pos++;
    }
    if ((pos < length) && (authPasswordValue.charAt(pos) == '$'))
    if (pos < length && authPasswordValue.charAt(pos) == '$')
    {
      pos++;
    }
@@ -220,7 +220,7 @@
              message);
    }
    while ((pos < length) && (authPasswordValue.charAt(pos) == ' '))
    while (pos < length && authPasswordValue.charAt(pos) == ' ')
    {
      pos++;
    }
@@ -232,7 +232,7 @@
    while (pos < length)
    {
      char c = authPasswordValue.charAt(pos);
      if ((c == ' ') || (c == '$'))
      if (c == ' ' || c == '$')
      {
        break readAuthInfo;
      }
@@ -262,12 +262,12 @@
    // Ignore any spaces before the dollar sign separator.  Then read the dollar
    // sign and ignore any trailing spaces.
    while ((pos < length) && (authPasswordValue.charAt(pos) == ' '))
    while (pos < length && authPasswordValue.charAt(pos) == ' ')
    {
      pos++;
    }
    if ((pos < length) && (authPasswordValue.charAt(pos) == '$'))
    if (pos < length && authPasswordValue.charAt(pos) == '$')
    {
      pos++;
    }
@@ -278,7 +278,7 @@
              ResultCode.INVALID_ATTRIBUTE_SYNTAX, message);
    }
    while ((pos < length) && (authPasswordValue.charAt(pos) == ' '))
    while (pos < length && authPasswordValue.charAt(pos) == ' ')
    {
      pos++;
    }
@@ -289,7 +289,7 @@
    while (pos < length)
    {
      char c = authPasswordValue.charAt(pos);
      if ((c == ' ') || (c == '$'))
      if (c == ' ' || c == '$')
      {
        break ;
      }