Loading debian/patches/fix_gradle.patch +37 −0 Original line number Diff line number Diff line Loading @@ -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 +} Loading
debian/patches/fix_gradle.patch +37 −0 Original line number Diff line number Diff line Loading @@ -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 +}