From: Matthias Sohn Date: Fri, 30 Aug 2024 19:52:31 +0000 (+0200) Subject: Remove deprecated Transport#getFilterBlobLimit methods X-Git-Tag: v7.0.0.202409031743-r~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d64e09230c8bf1edae9566da15dd71b17d37b110;p=jgit.git Remove deprecated Transport#getFilterBlobLimit methods Change-Id: Ia72cc228b0acaa8df8f405bd224916cc76eadd22 --- diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/Transport.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/Transport.java index b335675da5..ac76e83d34 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/Transport.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/Transport.java @@ -1120,28 +1120,6 @@ public abstract class Transport implements AutoCloseable { removeDeletedRefs = remove; } - /** - * @return the blob limit value set with {@link #setFilterBlobLimit} or - * {@link #setFilterSpec(FilterSpec)}, or -1 if no blob limit value - * was set - * @since 5.0 - * @deprecated Use {@link #getFilterSpec()} instead - */ - @Deprecated - public final long getFilterBlobLimit() { - return filterSpec.getBlobLimit(); - } - - /** - * @param bytes exclude blobs of size greater than this - * @since 5.0 - * @deprecated Use {@link #setFilterSpec(FilterSpec)} instead - */ - @Deprecated - public final void setFilterBlobLimit(long bytes) { - setFilterSpec(FilterSpec.withBlobLimit(bytes)); - } - /** * Get filter spec *