From 909d81699029e3d0a99e200d09147f62c2a56ccc Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 27 May 2011 14:44:13 +0000
Subject: [PATCH] Minor fixes to Javadoc.

---
 opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/Matcher.java |    8 ++++----
 opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/Filter.java  |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/Filter.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/Filter.java
index ef301fe..59d5139 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/Filter.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/Filter.java
@@ -2089,18 +2089,18 @@
 
   /**
    * Indicates whether this {@code Filter} matches the provided {@code Entry}
-   * using the schema associated with the entry.
+   * using the default schema.
    * <p>
    * Calling this method is equivalent to the following:
    *
    * <pre>
-   * boolean b = matcher(entry.getSchema()).matches(entry);
+   * matcher().matches(entry);
    * </pre>
    *
    * @param entry
    *          The entry to be matched.
-   * @return {@code true} if this {@code Filter} matches the provided {@code
-   *         Entry}.
+   * @return The result of matching the provided {@code Entry} against this
+   *         {@code Filter} using the default schema.
    */
   public ConditionResult matches(final Entry entry)
   {
diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/Matcher.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/Matcher.java
index c6b25f7..6cec11f 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/Matcher.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/Matcher.java
@@ -831,13 +831,13 @@
 
 
   /**
-   * Indicates whether this filter {@code Matcher} matches the provided {@code
-   * Entry}.
+   * Indicates whether this filter {@code Matcher} matches the provided
+   * {@code Entry}.
    *
    * @param entry
    *          The entry to be matched.
-   * @return {@code true} if this filter {@code Matcher} matches the provided
-   *         {@code Entry}.
+   * @return The result of matching the provided {@code Entry} against this
+   *         filter {@code Matcher}.
    */
   public ConditionResult matches(final Entry entry)
   {

--
Gitblit v1.10.0