From d8234d310db7e730fba4e8685ac3bf8fb94046e8 Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Sat, 24 Mar 2018 22:05:53 +0100 Subject: [PATCH] Add missing @since tags for new API These methods were added after 4.11 so strictly speaking they violate semantic versioning since new API requires increasing the minor version number. Hence pretend these methods were introduced in 5.0 Change-Id: I7793ead16577dc1f2ddea09ba6b055103c783555 Signed-off-by: Matthias Sohn --- .../src/org/eclipse/jgit/lib/ObjectIdSerializer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectIdSerializer.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectIdSerializer.java index 96c7cee1c..26a0a28d0 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectIdSerializer.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectIdSerializer.java @@ -108,6 +108,7 @@ public class ObjectIdSerializer { * the object id to serialize; never null * @throws IOException * the stream writing failed + * @since 5.0 */ public static void writeWithoutMarker(OutputStream out, @NonNull AnyObjectId id) throws IOException { @@ -147,6 +148,7 @@ public class ObjectIdSerializer { * @return the object id; never null * @throws IOException * there was an error reading the stream + * @since 5.0 */ @NonNull public static ObjectId readWithoutMarker(InputStream in) throws IOException {