aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.lfs.server/src/org/eclipse
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2018-01-18 13:35:44 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2018-01-18 13:35:44 +0900
commit8e217517e2c515032dd0d661535d2133cd80123a (patch)
tree869968a82d3c8f86613c06937c838f92327db870 /org.eclipse.jgit.lfs.server/src/org/eclipse
parent55eba8d0f55464ca84d676828f67a6fe14b2454d (diff)
downloadjgit-8e217517e2c515032dd0d661535d2133cd80123a.tar.gz
jgit-8e217517e2c515032dd0d661535d2133cd80123a.zip
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>
Diffstat (limited to 'org.eclipse.jgit.lfs.server/src/org/eclipse')
-rw-r--r--org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LargeFileRepository.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LargeFileRepository.java b/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LargeFileRepository.java
index cfa53af9cd..75bd549dda 100644
--- a/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LargeFileRepository.java
+++ b/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LargeFileRepository.java
@@ -82,7 +82,7 @@ public interface LargeFileRepository {
* @return Action for verifying the object, or {@code null} if the server
* doesn't support or require verification
*/
- public @Nullable Response.Action getVerifyAction(AnyLongObjectId id);
+ public Response.@Nullable Action getVerifyAction(AnyLongObjectId id);
/**
* Get size of an object