From 16f13bf1bb39de9af116ddfcbccf0d3d426490bc Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 20 Nov 2009 09:38:23 +0100 Subject: [PATCH] Synchronized methods because they override synchronized methods. --- src/main/java/net/pterodactylus/fcp/FcpConnection.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/pterodactylus/fcp/FcpConnection.java b/src/main/java/net/pterodactylus/fcp/FcpConnection.java index 84f7ce9..e2bf72a 100644 --- a/src/main/java/net/pterodactylus/fcp/FcpConnection.java +++ b/src/main/java/net/pterodactylus/fcp/FcpConnection.java @@ -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. */ } -- 2.7.4