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

Jean-Noël Rouvignac
25.21.2016 64721a895973f935c1adb975247770f402a88fdf
opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/PatternRDN.java
@@ -49,7 +49,7 @@
  private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
  /** Indicate whether the RDN contains a wildcard in any of its attribute types. */
  private boolean hasTypeWildcard;
  private final boolean hasTypeWildcard;
  /** The set of attribute type patterns. */
  private String[] typePatterns;
  /**
@@ -60,7 +60,7 @@
   * a list of one element A.  The value "*A*" is represented as a list
   * of three elements "", A and "".
   */
  private List<List<ByteString>> valuePatterns;
  private final List<List<ByteString>> valuePatterns;
  /**
   * Create a new RDN pattern composed of a single attribute-value pair.
@@ -84,6 +84,10 @@
      }
      hasTypeWildcard = true;
    }
    else
    {
      hasTypeWildcard = false;
    }
    typePatterns = new String[] { type };
    valuePatterns = newArrayList(valuePattern);