From: David ‘Bombe’ Roden Date: Fri, 20 Nov 2009 08:38:23 +0000 (+0100) Subject: Synchronized methods because they override synchronized methods. X-Git-Tag: v0.1.2.1~6 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=16f13bf1bb39de9af116ddfcbccf0d3d426490bc;p=jFCPlib.git Synchronized methods because they override synchronized methods. --- 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. */ }