diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2018-01-19 22:40:54 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2018-01-19 22:42:38 +0900 |
commit | bd96feab2488566f2566bf7075f3a46fe2f2f92b (patch) | |
tree | e8df5781026be5018ec151a5a969c941c0d651ca /org.eclipse.jgit/src/org/eclipse/jgit/errors | |
parent | 8e217517e2c515032dd0d661535d2133cd80123a (diff) | |
download | jgit-bd96feab2488566f2566bf7075f3a46fe2f2f92b.tar.gz jgit-bd96feab2488566f2566bf7075f3a46fe2f2f92b.zip |
Revert usage of TYPE_USE in Nullable and NonNull annotations
Using TYPE_USE causes compilation errors in Eclipse Neon.3 (JDT 3.12.3)
and Eclipse Oxygen.2 (JDT 3.13.2).
This reverts commit 8e217517e2c515032dd0d661535d2133cd80123a.
This reverts commit 55eba8d0f55464ca84d676828f67a6fe14b2454d.
Reported-by: Thomas Wolf <thomas.wolf@paranor.ch>
Change-Id: I96869f80dd11ee238911706581b224bca4fb12cd
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/errors')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/errors/CorruptObjectException.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/errors/CorruptObjectException.java b/org.eclipse.jgit/src/org/eclipse/jgit/errors/CorruptObjectException.java index 314c4e6dae..4b503a302d 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/errors/CorruptObjectException.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/errors/CorruptObjectException.java @@ -140,7 +140,8 @@ public class CorruptObjectException extends IOException { * @return error condition or null. * @since 4.2 */ - public ObjectChecker.@Nullable ErrorType getErrorType() { + @Nullable + public ObjectChecker.ErrorType getErrorType() { return errorType; } } |