]> source.dussan.org Git - jgit.git/commitdiff
Suppress API errors and add missing @since tags caused by 6ea888a 45/134545/2
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 28 Dec 2018 02:18:58 +0000 (03:18 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 28 Dec 2018 23:17:33 +0000 (00:17 +0100)
Change-Id: Id042d46ba078af35b9c22a079da4ae14fc5fa231
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/.settings/.api_filters
org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectIdRef.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/SymbolicRef.java

index 1e18de66472772f86b2412e283cafe7ec07e4cd3..c17bdda2548bdefc9594613c41bfb4c675673df4 100644 (file)
             </message_arguments>
         </filter>
     </resource>
+    <resource path="src/org/eclipse/jgit/lib/ObjectIdRef.java" type="org.eclipse.jgit.lib.ObjectIdRef">
+        <filter comment="removing protected constructor breaks implementers which is ok in a minor release following OSGi semantic versioning" id="338722907">
+            <message_arguments>
+                <message_argument value="org.eclipse.jgit.lib.ObjectIdRef"/>
+                <message_argument value="ObjectIdRef(Ref.Storage, String, ObjectId)"/>
+            </message_arguments>
+        </filter>
+    </resource>
+    <resource path="src/org/eclipse/jgit/lib/Ref.java" type="org.eclipse.jgit.lib.Ref">
+        <filter id="404000815">
+            <message_arguments>
+                <message_argument value="org.eclipse.jgit.lib.Ref"/>
+                <message_argument value="getUpdateIndex()"/>
+            </message_arguments>
+        </filter>
+    </resource>
     <resource path="src/org/eclipse/jgit/lib/RefDatabase.java" type="org.eclipse.jgit.lib.RefDatabase">
         <filter comment="class is extended by extenders but not clients of the API" id="421650549">
             <message_arguments>
index 747318170ae32025fac32811c277c7e3d184c43d..bcda53879a58662b171a4e6d3c3c2f45933139ee 100644 (file)
@@ -82,6 +82,7 @@ public abstract class ObjectIdRef implements Ref {
                 *            a ref that does not exist yet.
                 * @param updateIndex
                 *            number increasing with each update to the reference.
+                * @since 5.3
                 */
                public Unpeeled(@NonNull Storage st, @NonNull String name,
                                @Nullable ObjectId id, long updateIndex) {
@@ -136,6 +137,7 @@ public abstract class ObjectIdRef implements Ref {
                 *            the first non-tag object that tag {@code id} points to.
                 * @param updateIndex
                 *            number increasing with each update to the reference.
+                * @since 5.3
                 */
                public PeeledTag(@NonNull Storage st, @NonNull String name,
                                @Nullable ObjectId id, @NonNull ObjectId p, long updateIndex) {
@@ -185,6 +187,7 @@ public abstract class ObjectIdRef implements Ref {
                 *            a ref that does not exist yet.
                 * @param updateIndex
                 *            number increasing with each update to the reference.
+                * @since 5.3
                 */
                public PeeledNonTag(@NonNull Storage st, @NonNull String name,
                                @Nullable ObjectId id, long updateIndex) {
@@ -224,6 +227,7 @@ public abstract class ObjectIdRef implements Ref {
         * @param updateIndex
         *            number that increases with each ref update. Set to -1 if the
         *            storage doesn't support versioning.
+        * @since 5.3
         */
        protected ObjectIdRef(@NonNull Storage st, @NonNull String name,
                        @Nullable ObjectId id, long updateIndex) {
index 0e9a23fe15b2d4738cd313b6e0e914e71d8a1213..ee0eb2f6ae61b63711ad48c9581a5aaf1fff3a78 100644 (file)
@@ -83,6 +83,7 @@ public class SymbolicRef implements Ref {
         *            the ref we reference and derive our value from.
         * @param updateIndex
         *            index that increases with each update of the reference
+        * @since 5.3
         */
        public SymbolicRef(@NonNull String refName, @NonNull Ref target,
                        long updateIndex) {