File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed
spring-core/src/main/java/org/springframework/lang Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2023 the original author or authors.
2
+ * Copyright 2002-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
42
42
* @author Sebastien Deleuze
43
43
* @author Juergen Hoeller
44
44
* @since 5.0
45
+ * @deprecated since 7.0; use {@link org.jspecify.annotations.NonNull} instead
45
46
* @see NonNullApi
46
47
* @see NonNullFields
47
48
* @see Nullable
51
52
@ Documented
52
53
@ Nonnull
53
54
@ TypeQualifierNickname
55
+ @ Deprecated
54
56
public @interface NonNull {
55
57
}
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2023 the original author or authors.
2
+ * Copyright 2002-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
38
38
* @author Sebastien Deleuze
39
39
* @author Juergen Hoeller
40
40
* @since 5.0
41
+ * @deprecated since 7.0; use {@link org.jspecify.annotations.NullMarked} instead
41
42
* @see NonNullFields
42
43
* @see Nullable
43
44
* @see NonNull
47
48
@ Documented
48
49
@ Nonnull
49
50
@ TypeQualifierDefault ({ElementType .METHOD , ElementType .PARAMETER })
51
+ @ Deprecated
50
52
public @interface NonNullApi {
51
53
}
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2023 the original author or authors.
2
+ * Copyright 2002-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
37
37
*
38
38
* @author Sebastien Deleuze
39
39
* @since 5.0
40
+ * @deprecated since 7.0; use {@link org.jspecify.annotations.NullMarked} instead
40
41
* @see NonNullApi
41
42
* @see Nullable
42
43
* @see NonNull
46
47
@ Documented
47
48
@ Nonnull
48
49
@ TypeQualifierDefault (ElementType .FIELD )
50
+ @ Deprecated
49
51
public @interface NonNullFields {
50
52
}
Original file line number Diff line number Diff line change 42
42
* @author Sebastien Deleuze
43
43
* @author Juergen Hoeller
44
44
* @since 5.0
45
+ * @deprecated since 7.0; use {@link org.jspecify.annotations.Nullable} instead
45
46
* @see NonNullApi
46
47
* @see NonNullFields
47
48
* @see NonNull
51
52
@ Documented
52
53
@ CheckForNull
53
54
@ TypeQualifierNickname
55
+ @ Deprecated
54
56
public @interface Nullable {
55
57
}
You can’t perform that action at this time.
0 commit comments