]> source.dussan.org Git - jgit.git/commitdiff
Remove deprecated AutoLFInputStream constructors 47/1200447/2
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 30 Aug 2024 20:18:50 +0000 (22:18 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 3 Sep 2024 14:11:03 +0000 (16:11 +0200)
Change-Id: I00241e45d947582886658fa528cc20a961fed9e6

org.eclipse.jgit/src/org/eclipse/jgit/util/io/AutoLFInputStream.java

index 2385865674bc2bf08252a467071b6a926da95f66..4b9706a3cefe627abed9110fad30c9855ba6ccc3 100644 (file)
@@ -147,44 +147,6 @@ public class AutoLFInputStream extends InputStream {
                                && flags.contains(StreamFlag.FOR_CHECKOUT);
        }
 
-       /**
-        * Creates a new InputStream, wrapping the specified stream.
-        *
-        * @param in
-        *            raw input stream
-        * @param detectBinary
-        *            whether binaries should be detected
-        * @since 2.0
-        * @deprecated since 5.9, use {@link #create(InputStream, StreamFlag...)}
-        *             instead
-        */
-       @Deprecated
-       public AutoLFInputStream(InputStream in, boolean detectBinary) {
-               this(in, detectBinary, false);
-       }
-
-       /**
-        * Creates a new InputStream, wrapping the specified stream.
-        *
-        * @param in
-        *            raw input stream
-        * @param detectBinary
-        *            whether binaries should be detected
-        * @param abortIfBinary
-        *            throw an IOException if the file is binary
-        * @since 3.3
-        * @deprecated since 5.9, use {@link #create(InputStream, StreamFlag...)}
-        *             instead
-        */
-       @Deprecated
-       public AutoLFInputStream(InputStream in, boolean detectBinary,
-                       boolean abortIfBinary) {
-               this.in = in;
-               this.detectBinary = detectBinary;
-               this.abortIfBinary = abortIfBinary;
-               this.forCheckout = false;
-       }
-
        @Override
        public int read() throws IOException {
                final int read = read(single, 0, 1);