From 64afb3e53f74b2ec78cacb377858cb092e3a4e9b Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 16 Aug 2007 00:36:48 +0000
Subject: [PATCH] Update package-info.java files to include the @PublicAPI annotation to indicate whether any or all of the classes in that package are intended to be part of the public API.  Further, mark all classes that we intend to be part of the public API with the @PublicAPI annotation to indicate the ways in which they may be used.  Note that the use of these annotations and the ultimate determination as to what is in our public API and the ways in which those elements may be used still needs to be carefully reviewed before the 1.0 release.

---
 opendj-sdk/opends/src/server/org/opends/server/api/SubstringMatchingRule.java |   26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/api/SubstringMatchingRule.java b/opendj-sdk/opends/src/server/org/opends/server/api/SubstringMatchingRule.java
index ec26d2c..7b860f6 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/api/SubstringMatchingRule.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/api/SubstringMatchingRule.java
@@ -42,6 +42,11 @@
  * implemented by a Directory Server module that implements a matching
  * rule used for substring matching.
  */
+@org.opends.server.types.PublicAPI(
+     stability=org.opends.server.types.StabilityLevel.VOLATILE,
+     mayInstantiate=false,
+     mayExtend=true,
+     mayInvoke=false)
 public abstract class SubstringMatchingRule
        extends MatchingRule<SubstringMatchingRuleCfg>
 {
@@ -65,8 +70,8 @@
   /**
    * Determines whether the provided value matches the given substring
    * filter components.  Note that any of the substring filter
-   * components may be <CODE>null</CODE> but at least one of them must
-   * be non-<CODE>null</CODE>.
+   * components may be {@code null} but at least one of them must be
+   * non-{@code null}.
    *
    * @param  value           The normalized value against which to
    *                         compare the substring components.
@@ -80,9 +85,8 @@
    *                         that should appear at the end of the
    *                         target value.
    *
-   * @return  <CODE>true</CODE> if the provided value does match the
-   *          given substring components, or <CODE>false</CODE> if
-   *          not.
+   * @return  {@code true} if the provided value does match the given
+   *          substring components, or {@code false} if not.
    */
   public abstract boolean valueMatchesSubstring(
                                ByteString value,
@@ -99,9 +103,9 @@
    * <BR><BR>
    * Note that substring matching rules by default do not support
    * extensible matching, and therefore this method will always return
-   * <CODE>UNDEFINED</CODE>.  If a substring matching rule does
-   * support extensible matching operations, then it should override
-   * this method and provide an appropriate implementation.
+   * {@code UNDEFINED}.  If a substring matching rule does support
+   * extensible matching operations, then it should override this
+   * method and provide an appropriate implementation.
    *
    * @param  attributeValue  The attribute value in a form that has
    *                         been normalized according to this
@@ -110,9 +114,9 @@
    *                         been normalized according to this
    *                         matching rule.
    *
-   * @return  <CODE>true</CODE> if the attribute value should be
-   *          considered a match for the provided assertion value, or
-   *          <CODE>false</CODE> if not.
+   * @return  {@code true} if the attribute value should be considered
+   *          a match for the provided assertion value, or
+   *          {@code false} if not.
    */
   public ConditionResult valuesMatch(ByteString attributeValue,
                                      ByteString assertionValue)

--
Gitblit v1.10.0