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

Nicolas Capponi
24.43.2014 81d36161ce5367fa7aa9a5d99dc8b80eacfa7cdf
opendj3-server-dev/src/server/org/opends/server/authorization/dseecompat/AciBody.java
@@ -22,7 +22,7 @@
 *
 *
 *      Copyright 2008-2009 Sun Microsystems, Inc.
 *      Portions copyright 2012-2013 ForgeRock AS.
 *      Portions Copyright 2012-2014 ForgeRock AS.
 */
package org.opends.server.authorization.dseecompat;
@@ -34,7 +34,7 @@
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.opends.messages.Message;
import org.forgerock.i18n.LocalizableMessage;
/**
 * This class represents the body of an ACI. The body of the ACI is the
@@ -186,7 +186,7 @@
            startPos=bodyMatcher.start();
            version  = bodyMatcher.group(VERSION);
            if (!version.equalsIgnoreCase(supportedVersion)) {
                Message message = WARN_ACI_SYNTAX_INVAILD_VERSION.get(version);
                LocalizableMessage message = WARN_ACI_SYNTAX_INVAILD_VERSION.get(version);
                throw new AciException(message);
            }
            name = bodyMatcher.group(NAME);
@@ -211,7 +211,7 @@
        if (lastIndex >= 0 && input.charAt(lastIndex) != ')')
        {
          Message message = WARN_ACI_SYNTAX_GENERAL_PARSE_FAILED.get(input);
          LocalizableMessage message = WARN_ACI_SYNTAX_GENERAL_PARSE_FAILED.get(input);
          throw new AciException(message);
        }