]> source.dussan.org Git - jgit.git/commitdiff
Remove deprecated PackInvalidException constructors 50/1200250/2
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 30 Aug 2024 15:11:34 +0000 (17:11 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 3 Sep 2024 13:53:42 +0000 (13:53 +0000)
Change-Id: I8db6b1dd8e39811ebde676389833dbc906106452

org.eclipse.jgit/src/org/eclipse/jgit/errors/PackInvalidException.java

index 1fd80867b97ade92f1e7ba1ec38faff82deaa340..38982fdf23e77a5feccd3d3a220635bb24d6a6c0 100644 (file)
@@ -22,18 +22,6 @@ import org.eclipse.jgit.internal.JGitText;
 public class PackInvalidException extends IOException {
        private static final long serialVersionUID = 1L;
 
-       /**
-        * Construct a pack invalid error.
-        *
-        * @param path
-        *            path of the invalid pack file.
-        * @deprecated Use {@link #PackInvalidException(File, Throwable)}.
-        */
-       @Deprecated
-       public PackInvalidException(File path) {
-               this(path, null);
-       }
-
        /**
         * Construct a pack invalid error with cause.
         *
@@ -47,18 +35,6 @@ public class PackInvalidException extends IOException {
                this(path.getAbsolutePath(), cause);
        }
 
-       /**
-        * Construct a pack invalid error.
-        *
-        * @param path
-        *            path of the invalid pack file.
-        * @deprecated Use {@link #PackInvalidException(String, Throwable)}.
-        */
-       @Deprecated
-       public PackInvalidException(String path) {
-               this(path, null);
-       }
-
        /**
         * Construct a pack invalid error with cause.
         *