File tree 2 files changed +3
-2
lines changed
main/java/org/springframework/data/jpa/domain
test/java/org/springframework/data/jpa/domain
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 40
40
* @author Mark Paluch
41
41
* @since 4.0
42
42
*/
43
+ @ FunctionalInterface
43
44
public interface PredicateSpecification <T > extends Serializable {
44
45
45
46
/**
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ void specificationsShouldBeSerializable() {
88
88
89
89
assertThat (specification ).isNotNull ();
90
90
91
- @ SuppressWarnings ({ "unchecked" , "deprecation" })
91
+ @ SuppressWarnings ({ "unchecked" , "deprecation" })
92
92
Specification <Object > transferredSpecification = (Specification <Object >) deserialize (serialize (specification ));
93
93
94
94
assertThat (transferredSpecification ).isNotNull ();
@@ -103,7 +103,7 @@ void complexSpecificationsShouldBeSerializable() {
103
103
104
104
assertThat (specification ).isNotNull ();
105
105
106
- @ SuppressWarnings ({ "unchecked" , "deprecation" })
106
+ @ SuppressWarnings ({ "unchecked" , "deprecation" })
107
107
Specification <Object > transferredSpecification = (Specification <Object >) deserialize (serialize (specification ));
108
108
109
109
assertThat (transferredSpecification ).isNotNull ();
You can’t perform that action at this time.
0 commit comments