diff options
author | Jonathan Nieder <jrn@google.com> | 2018-10-09 15:29:00 -0700 |
---|---|---|
committer | Jonathan Nieder <jrn@google.com> | 2018-10-09 15:52:54 -0700 |
commit | c58362c1748abceacf35fc6b3d0d53125f7cdf71 (patch) | |
tree | 912fcd81d9aae134fd24f920bc7d77d0937c815f /org.eclipse.jgit.lfs.server | |
parent | 81b7f0e83595af162fe9950c6f2867b14901ec60 (diff) | |
download | jgit-c58362c1748abceacf35fc6b3d0d53125f7cdf71.tar.gz jgit-c58362c1748abceacf35fc6b3d0d53125f7cdf71.zip |
Avoid using @Nullable to annotate arrays
As described in the javadoc for org.eclipse.jgit.annotations.Nullable:
Warning: Please do not use this annotation on arrays. Different
annotation processors treat `@Nullable Object[]` differently: some
treat it as an array of nullable objects, for consistency with
versions of `Nullable` defined with `@Target TYPE_USE`, while others
treat it as a nullable array of objects. JGit therefore avoids using
this annotation on arrays altogether.
See the checker-framework manual[1] for details.
[1] http://types.cs.washington.edu/checker-framework/current/checker-framework-manual.html#faq-array-syntax-meaning
Change-Id: I14ffcf80adbb8145d797998de2f2fa6ab84c3ae3
Signed-off-by: Jonathan Nieder <jrn@google.com>
Diffstat (limited to 'org.eclipse.jgit.lfs.server')
0 files changed, 0 insertions, 0 deletions