Repository: mina-sshd Updated Branches: refs/heads/master 8f4148c07 -> 881e9db5e
Added comment regarding possible Eclipse issue with synthetic access Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/881e9db5 Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/881e9db5 Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/881e9db5 Branch: refs/heads/master Commit: 881e9db5e4b41d2774d1dc3abfd5ea9f63fe9bc8 Parents: 8f4148c Author: Goldstein Lyor <[email protected]> Authored: Thu Aug 2 07:43:10 2018 +0300 Committer: Goldstein Lyor <[email protected]> Committed: Thu Aug 2 07:43:10 2018 +0300 ---------------------------------------------------------------------- .../src/main/java/org/apache/sshd/common/scp/ScpHelper.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/881e9db5/sshd-scp/src/main/java/org/apache/sshd/common/scp/ScpHelper.java ---------------------------------------------------------------------- diff --git a/sshd-scp/src/main/java/org/apache/sshd/common/scp/ScpHelper.java b/sshd-scp/src/main/java/org/apache/sshd/common/scp/ScpHelper.java index 48bc57a..d7e6fd8 100644 --- a/sshd-scp/src/main/java/org/apache/sshd/common/scp/ScpHelper.java +++ b/sshd-scp/src/main/java/org/apache/sshd/common/scp/ScpHelper.java @@ -124,7 +124,7 @@ public class ScpHelper extends AbstractLoggingBean implements SessionHolder<Sess Path path = new MockPath(line); receiveStream(line, new ScpTargetStreamResolver() { @Override - @SuppressWarnings("synthetic-access") + @SuppressWarnings("synthetic-access") // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=537593 public OutputStream resolveTargetStream( Session session, String name, long length, Set<PosixFilePermission> perms, OpenOption... options) throws IOException { @@ -141,8 +141,10 @@ public class ScpHelper extends AbstractLoggingBean implements SessionHolder<Sess } @Override - @SuppressWarnings("synthetic-access") - public void postProcessReceivedData(String name, boolean preserve, Set<PosixFilePermission> perms, ScpTimestamp time) throws IOException { + @SuppressWarnings("synthetic-access") // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=537593 + public void postProcessReceivedData( + String name, boolean preserve, Set<PosixFilePermission> perms, ScpTimestamp time) + throws IOException { if (log.isDebugEnabled()) { log.debug("postProcessReceivedData({}) name={}, perms={}, preserve={} time={}", ScpHelper.this, name, perms, preserve, time);
