From e4e677d6b1a67e8d789bbc4f6a6534813bc56f97 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Thu, 24 Aug 2017 16:07:41 +0200 Subject: [PATCH] DATACMNS-1140 - Polishing. Extend javadoc. Remove trailing whitespaces. Original pull request: #238. --- .../springframework/data/domain/ExampleMatcher.java | 12 ++++++------ .../data/domain/TypedExampleMatcher.java | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/main/java/org/springframework/data/domain/ExampleMatcher.java b/src/main/java/org/springframework/data/domain/ExampleMatcher.java index 9614ffcc6..602c9bf83 100644 --- a/src/main/java/org/springframework/data/domain/ExampleMatcher.java +++ b/src/main/java/org/springframework/data/domain/ExampleMatcher.java @@ -48,8 +48,8 @@ import org.springframework.util.Assert; public interface ExampleMatcher { /** - * Create a new {@link ExampleMatcher} including all non-null properties by default exposing that all resulting - * predicates are supposed to be AND-concatenated. + * Create a new {@link ExampleMatcher} including all non-null properties by default matching all + * predicates derived from the example. * * @return new instance of {@link ExampleMatcher}. * @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 * 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. */ 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 * 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. */ default boolean isAnyMatching() { @@ -564,7 +564,7 @@ public interface ExampleMatcher { /** * For backwards compatibility of clients used to invoke Spring's Converter interface. - * + * * @param source * @return */ @@ -583,7 +583,7 @@ public interface ExampleMatcher { INSTANCE; - /* + /* * (non-Javadoc) * @see java.util.function.Function#apply(java.lang.Object) */ diff --git a/src/main/java/org/springframework/data/domain/TypedExampleMatcher.java b/src/main/java/org/springframework/data/domain/TypedExampleMatcher.java index 561d62e40..60bde40b4 100644 --- a/src/main/java/org/springframework/data/domain/TypedExampleMatcher.java +++ b/src/main/java/org/springframework/data/domain/TypedExampleMatcher.java @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.springframework.data.domain; import lombok.AccessLevel;