Skip to content

Commit ccd5daa

Browse files
committed
Polishing.
Refine Javadoc. See #4023 Original pull request: #4024
1 parent 8370059 commit ccd5daa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-data-jpa/src/main/java/org/springframework/data/jpa/domain/SpecificationComposition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
* @author Oliver Gierke
3232
* @author Jens Schauder
3333
* @author Mark Paluch
34-
* @see Specification
3534
* @since 2.2
35+
* @see Specification
3636
*/
3737
class SpecificationComposition {
3838

spring-data-jpa/src/test/java/org/springframework/data/jpa/domain/SpecificationUnitTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ void orCombinesSpecificationsInOrder() {
217217
@Test // GH-3849, GH-4023
218218
void notWithNullPredicate() {
219219

220-
Specification<Object> notSpec = Specification.not(Specification.unrestricted());
220+
Specification<Object> notSpec = Specification.not(Specification.where(null));
221221

222222
assertThat(notSpec.toPredicate(root, query, builder)).isNull();
223223
verifyNoInteractions(builder);

0 commit comments

Comments
 (0)