File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
spring-data-jpa/src/test/java/org/springframework/data/jpa Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 31
31
*/
32
32
class Jsr310JpaConvertersUnitTests {
33
33
34
- static Iterable <? extends Object > data () {
34
+ static Iterable <?> data () {
35
35
36
36
return Arrays .asList (new Jsr310JpaConverters .InstantConverter (), //
37
37
new Jsr310JpaConverters .LocalDateConverter (), //
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ void specificationsShouldBeSerializable() {
109
109
110
110
assertThat (specification ).isNotNull ();
111
111
112
- @ SuppressWarnings ("unchecked" )
112
+ @ SuppressWarnings ({ "unchecked" , "deprecation" } )
113
113
DeleteSpecification <Object > transferredSpecification = (DeleteSpecification <Object >) deserialize (
114
114
serialize (specification ));
115
115
@@ -125,7 +125,7 @@ void complexSpecificationsShouldBeSerializable() {
125
125
126
126
assertThat (specification ).isNotNull ();
127
127
128
- @ SuppressWarnings ("unchecked" )
128
+ @ SuppressWarnings ({ "unchecked" , "deprecation" } )
129
129
DeleteSpecification <Object > transferredSpecification = (DeleteSpecification <Object >) deserialize (
130
130
serialize (specification ));
131
131
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ void specificationsShouldBeSerializable() {
107
107
108
108
assertThat (specification ).isNotNull ();
109
109
110
- @ SuppressWarnings ("unchecked" )
110
+ @ SuppressWarnings ({ "unchecked" , "deprecation" } )
111
111
PredicateSpecification <Object > transferredSpecification = (PredicateSpecification <Object >) deserialize (
112
112
serialize (specification ));
113
113
@@ -123,7 +123,7 @@ void complexSpecificationsShouldBeSerializable() {
123
123
124
124
assertThat (specification ).isNotNull ();
125
125
126
- @ SuppressWarnings ("unchecked" )
126
+ @ SuppressWarnings ({ "unchecked" , "deprecation" } )
127
127
PredicateSpecification <Object > transferredSpecification = (PredicateSpecification <Object >) deserialize (
128
128
serialize (specification ));
129
129
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ void specificationsShouldBeSerializable() {
109
109
110
110
assertThat (specification ).isNotNull ();
111
111
112
- @ SuppressWarnings ("unchecked" )
112
+ @ SuppressWarnings ({ "unchecked" , "deprecation" } )
113
113
UpdateSpecification <Object > transferredSpecification = (UpdateSpecification <Object >) deserialize (
114
114
serialize (specification ));
115
115
@@ -125,7 +125,7 @@ void complexSpecificationsShouldBeSerializable() {
125
125
126
126
assertThat (specification ).isNotNull ();
127
127
128
- @ SuppressWarnings ("unchecked" )
128
+ @ SuppressWarnings ({ "unchecked" , "deprecation" } )
129
129
UpdateSpecification <Object > transferredSpecification = (UpdateSpecification <Object >) deserialize (
130
130
serialize (specification ));
131
131
You can’t perform that action at this time.
0 commit comments