]> source.dussan.org Git - jgit.git/commitdiff
Add missing @since tag and silence API error 19/120219/1
authorMatthias Sohn <matthias.sohn@sap.com>
Mon, 26 Mar 2018 22:35:40 +0000 (00:35 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 26 Mar 2018 22:35:40 +0000 (00:35 +0200)
These methods were introduced for 4.11.1 so we have to silence the API
error adding API in a service release raises.

Change-Id: Ic847cebbed439912d3979ec2ec1809f77a28f61e
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/.settings/.api_filters
org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectIdSerializer.java

index dd960907fb893afe588987d68f4275847f5ae9b8..d4a059110ba214b66f432fb762e98751a484658f 100644 (file)
@@ -1,5 +1,13 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <component id="org.eclipse.jgit" version="2">
+    <resource path="META-INF/MANIFEST.MF">
+        <filter id="924844039">
+            <message_arguments>
+                <message_argument value="4.11.1"/>
+                <message_argument value="4.11.0"/>
+            </message_arguments>
+        </filter>
+    </resource>
     <resource path="src/org/eclipse/jgit/diff/DiffEntry.java" type="org.eclipse.jgit.diff.DiffEntry">
         <filter id="336658481">
             <message_arguments>
index 96c7cee1c6e3f120ccf62227e162c4486238be5e..4f8bd326b7d2c55a6612d3990db27aea7c16444d 100644 (file)
@@ -108,6 +108,7 @@ public class ObjectIdSerializer {
         *            the object id to serialize; never null
         * @throws IOException
         *             the stream writing failed
+        * @since 4.11
         */
        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 4.11
         */
        @NonNull
        public static ObjectId readWithoutMarker(InputStream in) throws IOException {