This is an automated email from the ASF dual-hosted git repository. twolf pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mina-sshd.git
The following commit(s) were added to refs/heads/master by this push: new 804849f Remove wrong override annotation again! 804849f is described below commit 804849ff65270e56ff7828a4734f73993ed5ccfb Author: Thomas Wolf <tw...@apache.org> AuthorDate: Thu Feb 17 23:08:32 2022 +0100 Remove wrong override annotation again! SftpInputStreamAsync.transferTo must not have an override annotation; it's an override only from Java 11 on. --- .../main/java/org/apache/sshd/sftp/client/impl/SftpInputStreamAsync.java | 1 - 1 file changed, 1 deletion(-) diff --git a/sshd-sftp/src/main/java/org/apache/sshd/sftp/client/impl/SftpInputStreamAsync.java b/sshd-sftp/src/main/java/org/apache/sshd/sftp/client/impl/SftpInputStreamAsync.java index a4083f4..12ea4e5 100644 --- a/sshd-sftp/src/main/java/org/apache/sshd/sftp/client/impl/SftpInputStreamAsync.java +++ b/sshd-sftp/src/main/java/org/apache/sshd/sftp/client/impl/SftpInputStreamAsync.java @@ -155,7 +155,6 @@ public class SftpInputStreamAsync extends InputStreamWithChannel implements Sftp return numXfered; } - @Override @SuppressWarnings("PMD.MissingOverride") public long transferTo(OutputStream out) throws IOException { if (!isOpen()) {