Skip to content

Commit

Permalink
Attribute nullability annotations to Spring Framework (#2456)
Browse files Browse the repository at this point in the history
Includes a note in the class-level JavaDoc for each class, adds the `@author` tags from the original files, and adds an entry to the top-level NOTICE file.
  • Loading branch information
shakuzen committed Feb 17, 2021
1 parent 3b6e727 commit 8f117ba
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 0 deletions.
7 changes: 7 additions & 0 deletions NOTICE
Expand Up @@ -43,3 +43,10 @@ modified copy of the PCollections library by Harold Cooper.
* Copyright 2008 Harold Cooper
* License: MIT License
* Homepage: https://github.com/hrldcpr/pcollections

This product contains a modified portion of the 'org.springframework.lang'
package in the Spring Framework library, distributed by Pivotal, Inc:

* Copyright 2002-2019 the original author or authors.
* License: Apache License v2.0
* Homepage: https://spring.io/projects/spring-framework
Expand Up @@ -28,7 +28,11 @@
* <p>Use {@code @NonNullApi} (scope = parameters + return values) and/or {@code @NonNullFields}
* (scope = fields) to set the default behavior to non-nullable in order to avoid annotating
* your whole codebase with {@code @NonNull}.
* <p>
* NOTE: This file has been copied from {org.springframework.lang}.
*
* @author Sebastien Deleuze
* @author Juergen Hoeller
* @see NonNullApi
* @see NonNullFields
* @see Nullable
Expand Down
Expand Up @@ -26,7 +26,11 @@
* tools with JSR-305 support and used by Kotlin to infer nullability of the API.
* <p>Should be used at package level in association with {@link Nullable}
* annotations at parameter and return value level.
* <p>
* NOTE: This file has been copied from {org.springframework.lang}.
*
* @author Sebastien Deleuze
* @author Juergen Hoeller
* @see NonNullFields
* @see Nullable
* @see NonNull
Expand Down
Expand Up @@ -26,7 +26,10 @@
* tools with JSR-305 support and used by Kotlin to infer nullability of the API.
* <p>Should be used at package level in association with {@link Nullable}
* annotations at field level.
* <p>
* NOTE: This file has been copied from {org.springframework.lang}.
*
* @author Sebastien Deleuze
* @see NonNullFields
* @see Nullable
* @see NonNull
Expand Down
Expand Up @@ -28,7 +28,11 @@
* repeat parent {@code @Nullable} annotations unless they behave differently.
* <p>Can be used in association with {@code NonNullApi} or {@code @NonNullFields} to
* override the default non-nullable semantic to nullable.
* <p>
* NOTE: This file has been copied from {org.springframework.lang}.
*
* @author Sebastien Deleuze
* @author Juergen Hoeller
* @see NonNullApi
* @see NonNullFields
* @see NonNull
Expand Down

0 comments on commit 8f117ba

Please sign in to comment.