Browse Source

DATACMNS-1140 - Polishing.

Extend javadoc. Remove trailing whitespaces.

Original pull request: #238.
pull/239/head
Mark Paluch 9 years ago
parent
commit
e4e677d6b1
  1. 12
      src/main/java/org/springframework/data/domain/ExampleMatcher.java
  2. 1
      src/main/java/org/springframework/data/domain/TypedExampleMatcher.java

12
src/main/java/org/springframework/data/domain/ExampleMatcher.java

@ -48,8 +48,8 @@ import org.springframework.util.Assert; @@ -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 <strong>all</strong>
* predicates derived from the example.
*
* @return new instance of {@link ExampleMatcher}.
* @see #matchingAll()
@ -232,7 +232,7 @@ public interface ExampleMatcher { @@ -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 { @@ -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 { @@ -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 { @@ -583,7 +583,7 @@ public interface ExampleMatcher {
INSTANCE;
/*
/*
* (non-Javadoc)
* @see java.util.function.Function#apply(java.lang.Object)
*/

1
src/main/java/org/springframework/data/domain/TypedExampleMatcher.java

@ -13,7 +13,6 @@ @@ -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;

Loading…
Cancel
Save