@@ -55,9 +55,9 @@ public class Specifications<T> implements Specification<T>, Serializable {
55
55
* Simple static factory method to add some syntactic sugar around a {@link Specification}.
56
56
*
57
57
* @deprecated since 2.0, use {@link Specification#where} instead
58
- * @param <T>
58
+ * @param <T> type parameter for the specification parameter.
59
59
* @param spec can be {@literal null}.
60
- * @return
60
+ * @return a new Specifcations instance. Guaranteed to be not {@code null}.
61
61
*/
62
62
@ Deprecated
63
63
public static <T > Specifications <T > where (@ Nullable Specification <T > spec ) {
@@ -69,7 +69,7 @@ public static <T> Specifications<T> where(@Nullable Specification<T> spec) {
69
69
*
70
70
* @deprecated since 2.0, use {@link Specification#and} instead
71
71
* @param other can be {@literal null}.
72
- * @return
72
+ * @return a new Specifications instance combining this and the parameter instance. Guaranteed to be not {@code null}.
73
73
*/
74
74
@ Deprecated
75
75
public Specifications <T > and (@ Nullable Specification <T > other ) {
@@ -81,7 +81,7 @@ public Specifications<T> and(@Nullable Specification<T> other) {
81
81
*
82
82
* @deprecated since 2.0, use {@link Specification#or} instead
83
83
* @param other can be {@literal null}.
84
- * @return
84
+ * @return a new Specifications instance combining this and the parameter instance. Guaranteed to be not {@code null}.
85
85
*/
86
86
@ Deprecated
87
87
public Specifications <T > or (@ Nullable Specification <T > other ) {
@@ -92,9 +92,9 @@ public Specifications<T> or(@Nullable Specification<T> other) {
92
92
* Negates the given {@link Specification}.
93
93
*
94
94
* @deprecated since 2.0, use {@link Specification#not} instead
95
- * @param <T>
95
+ * @param <T> type parameter for the specification parameter.
96
96
* @param spec can be {@literal null}.
97
- * @return
97
+ * @return a new Specifications instance combining this and the parameter instance. Guaranteed to be not {@code null}.
98
98
*/
99
99
@ Deprecated
100
100
public static <T > Specifications <T > not (@ Nullable Specification <T > spec ) {
0 commit comments