DATACMNS-1140 - Polishing.

Extend javadoc. Remove trailing whitespaces.

Original pull request: #238.
This commit is contained in:
Mark Paluch
2017-08-24 16:07:41 +02:00
parent 0ff4961853
commit e4e677d6b1
2 changed files with 6 additions and 7 deletions

View File

@@ -48,8 +48,8 @@ import org.springframework.util.Assert;
public interface ExampleMatcher { public interface ExampleMatcher {
/** /**
* Create a new {@link ExampleMatcher} including all non-null properties by default exposing that all resulting * Create a new {@link ExampleMatcher} including all non-null properties by default matching <strong>all</strong>
* predicates are supposed to be AND-concatenated. * predicates derived from the example.
* *
* @return new instance of {@link ExampleMatcher}. * @return new instance of {@link ExampleMatcher}.
* @see #matchingAll() * @see #matchingAll()
@@ -232,7 +232,7 @@ public interface ExampleMatcher {
/** /**
* Returns whether all of the predicates of the {@link Example} are supposed to match. If {@literal false} is * Returns whether all of the predicates of the {@link Example} are supposed to match. If {@literal false} is
* returned, it's sufficient if any of the predicates derived from the {@link Example} match. * returned, it's sufficient if any of the predicates derived from the {@link Example} match.
* *
* @return whether all of the predicates of the {@link Example} are supposed to match or any of them is sufficient. * @return whether all of the predicates of the {@link Example} are supposed to match or any of them is sufficient.
*/ */
default boolean isAllMatching() { default boolean isAllMatching() {
@@ -242,7 +242,7 @@ public interface ExampleMatcher {
/** /**
* Returns whether it's sufficient that any of the predicates of the {@link Example} match. If {@literal false} is * Returns whether it's sufficient that any of the predicates of the {@link Example} match. If {@literal false} is
* returned, all predicates derived from the example need to match to produce results. * returned, all predicates derived from the example need to match to produce results.
* *
* @return whether it's sufficient that any of the predicates of the {@link Example} match or all need to match. * @return whether it's sufficient that any of the predicates of the {@link Example} match or all need to match.
*/ */
default boolean isAnyMatching() { default boolean isAnyMatching() {
@@ -564,7 +564,7 @@ public interface ExampleMatcher {
/** /**
* For backwards compatibility of clients used to invoke Spring's Converter interface. * For backwards compatibility of clients used to invoke Spring's Converter interface.
* *
* @param source * @param source
* @return * @return
*/ */
@@ -583,7 +583,7 @@ public interface ExampleMatcher {
INSTANCE; INSTANCE;
/* /*
* (non-Javadoc) * (non-Javadoc)
* @see java.util.function.Function#apply(java.lang.Object) * @see java.util.function.Function#apply(java.lang.Object)
*/ */

View File

@@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.data.domain; package org.springframework.data.domain;
import lombok.AccessLevel; import lombok.AccessLevel;