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

sin
19.17.2008 3c297cc0da721d8d87f8bc57ce4db4faf66c7823
Fix for unit testcase failures and javadoc errors
5 files modified
27 ■■■■ changed files
opends/src/server/org/opends/server/schema/OctetStringOrderingMatchingRuleFactory.java 2 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/schema/OctetStringSubstringMatchingRuleFactory.java 2 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/types/AbstractAttribute.java 10 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/types/AttributeBuilder.java 11 ●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/schema/CollationMatchingRuleTest.java 2 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/schema/OctetStringOrderingMatchingRuleFactory.java
@@ -38,7 +38,7 @@
/**
 * This class is a factory class for
 * {@link OctectStringOrderingMatchingRule}.
 * {@link OctetStringOrderingMatchingRule}.
 */
public final class OctetStringOrderingMatchingRuleFactory
        extends MatchingRuleFactory<MatchingRuleCfg>
opends/src/server/org/opends/server/schema/OctetStringSubstringMatchingRuleFactory.java
@@ -38,7 +38,7 @@
/**
 * This class is a factory class for
 * {@link OctectStringSubstringMatchingRule}.
 * {@link OctetStringSubstringMatchingRule}.
 */
public final class OctetStringSubstringMatchingRuleFactory
        extends MatchingRuleFactory<MatchingRuleCfg>
opends/src/server/org/opends/server/types/AbstractAttribute.java
@@ -62,7 +62,7 @@
   * <p>
   * This implementation iterates through each attribute value in the
   * provided collection, checking to see if this attribute contains
   * the value using {@link Attribute#contains(AttributeValue)}.
   * the value using {@link #contains(AttributeValue)}.
   */
  public boolean containsAll(Collection<AttributeValue> values)
  {
@@ -172,7 +172,7 @@
   * collection is non-empty and this attribute does not have any
   * options then it returns <code>false</code>. Otherwise, each
   * option in the provided collection is checked using
   * {@link Attribute#hasOption(String)} and <code>true</code> is
   * {@link #hasOption(String)} and <code>true</code> is
   * returned if all the provided options are present.
   */
  public boolean hasAllOptions(Collection<String> options)
@@ -221,7 +221,7 @@
  /**
   * {@inheritDoc}
   * <p>
   * This implementation calls {@link Attribute#getOptions()} to
   * This implementation calls {@link #getOptions()} to
   * retrieve this attribute's set of options and then compares them
   * one at a time against the provided option. All comparisons are
   * case insensitive (this is why we iterate through the set of
@@ -263,7 +263,7 @@
   * {@inheritDoc}
   * <p>
   * This implementation returns <code>true</code> if the
   * {@link Attribute#size()} of this attribute is zero.
   * {@link #size()} of this attribute is zero.
   */
  public boolean isEmpty()
  {
@@ -281,7 +281,7 @@
   * the size of this attribute's options, return <code>false</code>
   * if the sizes differ. If the sizes are the same then each option
   * in the provided set is checked using
   * {@link Attribute#hasOption(String)} and <code>true</code> is
   * {@link #hasOption(String)} and <code>true</code> is
   * returned if all the provided options are present.
   */
  public boolean optionsEqual(Set<String> options)
opends/src/server/org/opends/server/types/AttributeBuilder.java
@@ -51,7 +51,6 @@
import org.opends.server.util.Validator;
/**
 * This class provides an interface for creating new non-virtual
 * {@link Attribute}s, or "real" attributes.
@@ -71,10 +70,12 @@
 * the attribute before retrieving the updated attribute using the
 * {@link #toAttribute()} method.
 * <p>
 * The {@link Attributes} class contains convenience factory methods,
 * e.g. {@link Attributes#empty(String)} for creating empty
 * attributes, and {@link Attributes#create(String, String)} for
 * creating single-valued attributes.
 * The {@link org.opends.server.types.Attributes} class contains
 * convenience factory methods,
 * e.g. {@link org.opends.server.types.Attributes#empty(String)} for
 * creating empty attributes, and
 * {@link org.opends.server.types.Attributes#create(String, String)}
 * for  creating single-valued attributes.
 * <p>
 * <code>AttributeBuilder</code>s can be re-used. Once an
 * <code>AttributeBuilder</code> has been converted to an
opends/tests/unit-tests-testng/src/server/org/opends/server/schema/CollationMatchingRuleTest.java
@@ -273,7 +273,7 @@
              Integer.MAX_VALUE,
              false,
              LDAPFilter.
              decode("carLicense:fr.5:=ébe1"),
              decode("carLicense:fr.5:=ebe1"),
              null, null);
    searchOperation.run();