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 11/*
2- * Copyright 2002-2023 the original author or authors.
2+ * Copyright 2002-2024 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
4242 * @author Sebastien Deleuze
4343 * @author Juergen Hoeller
4444 * @since 5.0
45+ * @deprecated since 7.0; use {@link org.jspecify.annotations.NonNull} instead
4546 * @see NonNullApi
4647 * @see NonNullFields
4748 * @see Nullable
5152@ Documented
5253@ Nonnull
5354@ TypeQualifierNickname
55+ @ Deprecated
5456public @interface NonNull {
5557}
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2002-2023 the original author or authors.
2+ * Copyright 2002-2024 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
3838 * @author Sebastien Deleuze
3939 * @author Juergen Hoeller
4040 * @since 5.0
41+ * @deprecated since 7.0; use {@link org.jspecify.annotations.NullMarked} instead
4142 * @see NonNullFields
4243 * @see Nullable
4344 * @see NonNull
4748@ Documented
4849@ Nonnull
4950@ TypeQualifierDefault ({ElementType .METHOD , ElementType .PARAMETER })
51+ @ Deprecated
5052public @interface NonNullApi {
5153}
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2002-2023 the original author or authors.
2+ * Copyright 2002-2024 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
3737 *
3838 * @author Sebastien Deleuze
3939 * @since 5.0
40+ * @deprecated since 7.0; use {@link org.jspecify.annotations.NullMarked} instead
4041 * @see NonNullApi
4142 * @see Nullable
4243 * @see NonNull
4647@ Documented
4748@ Nonnull
4849@ TypeQualifierDefault (ElementType .FIELD )
50+ @ Deprecated
4951public @interface NonNullFields {
5052}
Original file line number Diff line number Diff line change 4242 * @author Sebastien Deleuze
4343 * @author Juergen Hoeller
4444 * @since 5.0
45+ * @deprecated since 7.0; use {@link org.jspecify.annotations.Nullable} instead
4546 * @see NonNullApi
4647 * @see NonNullFields
4748 * @see NonNull
5152@ Documented
5253@ CheckForNull
5354@ TypeQualifierNickname
55+ @ Deprecated
5456public @interface Nullable {
5557}
You can’t perform that action at this time.
0 commit comments