Synchronized methods because they override synchronized methods.
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / FcpConnection.java
index 84f7ce9..e2bf72a 100644 (file)
@@ -454,7 +454,7 @@ public class FcpConnection implements Closeable {
                 * @see java.io.FilterInputStream#mark(int)
                 */
                @Override
-               public void mark(int readlimit) {
+               public synchronized void mark(int readlimit) {
                        /* do nothing. */
                }
 
@@ -476,7 +476,7 @@ public class FcpConnection implements Closeable {
                 * @see java.io.FilterInputStream#reset()
                 */
                @Override
-               public void reset() throws IOException {
+               public synchronized void reset() throws IOException {
                        /* do nothing. */
                }