You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by lg...@apache.org on 2018/02/07 07:58:31 UTC

[3/5] mina-sshd git commit: Fix checkstyle issues for SSHD-802

Fix checkstyle issues for SSHD-802


Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/ad35d53f
Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/ad35d53f
Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/ad35d53f

Branch: refs/heads/master
Commit: ad35d53f391d2d89572695fb4457d1b97252cba3
Parents: 0cb36d9
Author: Lyor Goldstein <ly...@gmail.com>
Authored: Tue Feb 6 22:02:21 2018 +0200
Committer: Goldstein Lyor <ly...@c-b4.com>
Committed: Wed Feb 7 09:41:25 2018 +0200

----------------------------------------------------------------------
 .../sshd/common/file/root/RootedFileSystemProvider.java     | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/ad35d53f/sshd-core/src/main/java/org/apache/sshd/common/file/root/RootedFileSystemProvider.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/common/file/root/RootedFileSystemProvider.java b/sshd-core/src/main/java/org/apache/sshd/common/file/root/RootedFileSystemProvider.java
index 1866346..8765f47 100644
--- a/sshd-core/src/main/java/org/apache/sshd/common/file/root/RootedFileSystemProvider.java
+++ b/sshd-core/src/main/java/org/apache/sshd/common/file/root/RootedFileSystemProvider.java
@@ -44,8 +44,8 @@ import java.nio.file.attribute.BasicFileAttributes;
 import java.nio.file.attribute.FileAttribute;
 import java.nio.file.attribute.FileAttributeView;
 import java.nio.file.spi.FileSystemProvider;
-import java.util.Iterator;
 import java.util.HashMap;
+import java.util.Iterator;
 import java.util.Map;
 import java.util.Objects;
 import java.util.Set;
@@ -175,8 +175,9 @@ public class RootedFileSystemProvider extends FileSystemProvider {
     }
 
     @Override
-    public AsynchronousFileChannel newAsynchronousFileChannel(Path path, Set<? extends OpenOption> options,
-                                                              ExecutorService executor, FileAttribute<?>... attrs) throws IOException {
+    public AsynchronousFileChannel newAsynchronousFileChannel(
+            Path path, Set<? extends OpenOption> options, ExecutorService executor, FileAttribute<?>... attrs)
+                throws IOException {
         Path r = unroot(path);
         FileSystemProvider p = provider(r);
         return p.newAsynchronousFileChannel(r, options, executor, attrs);
@@ -202,6 +203,7 @@ public class RootedFileSystemProvider extends FileSystemProvider {
             public Iterator<Path> iterator() {
                 return root(rfs, ds.iterator());
             }
+
             @Override
             public void close() throws IOException {
                 ds.close();
@@ -215,6 +217,7 @@ public class RootedFileSystemProvider extends FileSystemProvider {
             public boolean hasNext() {
                 return iter.hasNext();
             }
+
             @Override
             public Path next() {
                 return root(rfs, iter.next());