Commit f0d97f61 authored by Olivier Sallou's avatar Olivier Sallou
Browse files

adapt to htsjdk in debian

parent 7af7c2a5
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
@@ -115,3 +115,40 @@ Forwarded: no
-    requires swing.layout;
+    requires swing.layout.debian;
 }
--- a/src/main/java/org/broad/igv/util/stream/IGVSeekableBufferedStream.java
+++ b/src/main/java/org/broad/igv/util/stream/IGVSeekableBufferedStream.java
@@ -88,27 +88,6 @@
         return actualSkip;
     }
 
-    @Override
-    public synchronized void reset() throws IOException {
-
-        if (markpos < 0) {
-            throw new IOException("Resetting to invalid mark");
-        }
-        position = markpos;
-
-    }
-
-    @Override
-    public synchronized void mark(int readlimit) {
-        this.markpos = (int) position;
-        this.marklimit = readlimit;
-    }
-
-    @Override
-    public boolean markSupported() {
-        return true;
-    }
-
     public void seek(final long position) throws IOException {
         this.position = position;
     }
@@ -227,4 +206,4 @@
             bufferSize = tmpBufferSize;
         }
     }
-}
\ No newline at end of file
+}