You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by gn...@apache.org on 2020/05/18 05:42:11 UTC

[mina-sshd] branch master updated: Ignore PMD warning for missing override to support JDK 8 / JDK 11

This is an automated email from the ASF dual-hosted git repository.

gnodet 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 36d67bb  Ignore PMD warning for missing override to support JDK 8 / JDK 11
36d67bb is described below

commit 36d67bbc03877c09d0b515749abd95f397310cc0
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Mon May 18 07:41:54 2020 +0200

    Ignore PMD warning for missing override to support JDK 8 / JDK 11
---
 .../org/apache/sshd/client/subsystem/sftp/impl/SftpInputStreamAsync.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sshd-sftp/src/main/java/org/apache/sshd/client/subsystem/sftp/impl/SftpInputStreamAsync.java b/sshd-sftp/src/main/java/org/apache/sshd/client/subsystem/sftp/impl/SftpInputStreamAsync.java
index c1a73d2..d266572 100644
--- a/sshd-sftp/src/main/java/org/apache/sshd/client/subsystem/sftp/impl/SftpInputStreamAsync.java
+++ b/sshd-sftp/src/main/java/org/apache/sshd/client/subsystem/sftp/impl/SftpInputStreamAsync.java
@@ -171,6 +171,7 @@ public class SftpInputStreamAsync extends InputStreamWithChannel {
         return clientOffset - orgOffset;
     }
 
+    @SuppressWarnings("PMD.MissingOverride")
     public long transferTo(OutputStream out) throws IOException {
         if (!isOpen()) {
             throw new IOException("transferTo(" + getPath() + ") stream closed");