File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
main/java/org/springframework/data/jpa/domain
test/java/org/springframework/data/jpa/domain Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 4040 * @author Mark Paluch
4141 * @since 4.0
4242 */
43+ @ FunctionalInterface
4344public interface PredicateSpecification <T > extends Serializable {
4445
4546 /**
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ void specificationsShouldBeSerializable() {
8888
8989 assertThat (specification ).isNotNull ();
9090
91- @ SuppressWarnings ({ "unchecked" , "deprecation" })
91+ @ SuppressWarnings ({ "unchecked" , "deprecation" })
9292 Specification <Object > transferredSpecification = (Specification <Object >) deserialize (serialize (specification ));
9393
9494 assertThat (transferredSpecification ).isNotNull ();
@@ -103,7 +103,7 @@ void complexSpecificationsShouldBeSerializable() {
103103
104104 assertThat (specification ).isNotNull ();
105105
106- @ SuppressWarnings ({ "unchecked" , "deprecation" })
106+ @ SuppressWarnings ({ "unchecked" , "deprecation" })
107107 Specification <Object > transferredSpecification = (Specification <Object >) deserialize (serialize (specification ));
108108
109109 assertThat (transferredSpecification ).isNotNull ();
You can’t perform that action at this time.
0 commit comments