]> source.dussan.org Git - jgit.git/commit
Nullable: Switch to TYPE_USE 81/115581/1
authorDavid Pursehouse <david.pursehouse@gmail.com>
Thu, 18 Jan 2018 04:35:44 +0000 (13:35 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Thu, 18 Jan 2018 04:35:44 +0000 (13:35 +0900)
commit8e217517e2c515032dd0d661535d2133cd80123a
tree869968a82d3c8f86613c06937c838f92327db870
parent55eba8d0f55464ca84d676828f67a6fe14b2454d
Nullable: Switch to TYPE_USE

Since JGit now requires Java 8, we can switch to TYPE_USE instead
of explicitly specifying the target type.

Some of the existing uses of Nullable need to be reworked slightly
as described in [1] to prevent the compilation error:

  scoping construct cannot be annotated with type-use annotation

[1] https://stackoverflow.com/a/21385939/381622

Change-Id: Idba48f67a09353b5237685996ce828c8ca398168
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LargeFileRepository.java
org.eclipse.jgit/src/org/eclipse/jgit/annotations/Nullable.java
org.eclipse.jgit/src/org/eclipse/jgit/errors/CorruptObjectException.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/fsck/FsckError.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/TransferConfig.java