From 9d2a7de65e00a7efc716ef9146011c41c312f5af Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Wed, 1 Mar 2017 00:34:59 +0100 Subject: [PATCH] Silence API error caused by changed return type of digest() Change-Id: Ic0810ed7fea837c45cbc9a4649ca51d140bad6e6 Signed-off-by: Matthias Sohn --- org.eclipse.jgit/.settings/.api_filters | 8 ++++++++ .../src/org/eclipse/jgit/lib/ObjectInserter.java | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/org.eclipse.jgit/.settings/.api_filters b/org.eclipse.jgit/.settings/.api_filters index 418fed612..1554ce082 100644 --- a/org.eclipse.jgit/.settings/.api_filters +++ b/org.eclipse.jgit/.settings/.api_filters @@ -8,6 +8,14 @@ + + + + + + + + diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectInserter.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectInserter.java index ad0b3332c..857ec9b2d 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectInserter.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectInserter.java @@ -217,7 +217,10 @@ public abstract class ObjectInserter implements AutoCloseable { return b; } - /** @return digest to help compute an ObjectId */ + /** + * @return digest to help compute an ObjectId + * @since 4.7 + */ protected SHA1 digest() { return hasher.reset(); }