< prev index next >

src/java.base/share/classes/java/io/FilterInputStream.java

Print this page
@@ -202,11 +202,11 @@
       *                      the mark position becomes invalid.
       * @see     java.io.FilterInputStream#in
       * @see     java.io.FilterInputStream#reset()
       */
      @Override
-     public synchronized void mark(int readlimit) {
+     public void mark(int readlimit) {
          in.mark(readlimit);
      }
  
      /**
       * Repositions this stream to the position at the time the

@@ -228,11 +228,11 @@
       *               mark has been invalidated.
       * @see        java.io.FilterInputStream#in
       * @see        java.io.FilterInputStream#mark(int)
       */
      @Override
-     public synchronized void reset() throws IOException {
+     public void reset() throws IOException {
          in.reset();
      }
  
      /**
       * Tests if this input stream supports the {@code mark}
< prev index next >