aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jgit/.settings/.api_filters8
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java4
2 files changed, 11 insertions, 1 deletions
diff --git a/org.eclipse.jgit/.settings/.api_filters b/org.eclipse.jgit/.settings/.api_filters
index d3ae4cf376..94adb25f78 100644
--- a/org.eclipse.jgit/.settings/.api_filters
+++ b/org.eclipse.jgit/.settings/.api_filters
@@ -80,4 +80,12 @@
</message_arguments>
</filter>
</resource>
+ <resource path="src/org/eclipse/jgit/transport/UploadPack.java" type="org.eclipse.jgit.transport.UploadPack$RequestPolicy">
+ <filter id="1176502275">
+ <message_arguments>
+ <message_argument value="6.10.1"/>
+ <message_argument value="implies(UploadPack.RequestPolicy)"/>
+ </message_arguments>
+ </filter>
+ </resource>
</component>
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java
index e9ea9b25a6..968728de8d 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java
@@ -156,8 +156,10 @@ public class UploadPack implements Closeable {
/**
* Check if the current policy implies another, based on its bitmask.
*
- * @param implied the implied policy based on its bitmask.
+ * @param implied
+ * the implied policy based on its bitmask.
* @return true if the policy is implied.
+ * @since 6.10.1
*/
public boolean implies(RequestPolicy implied) {
return (bitmask & implied.bitmask) != 0;