You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/08/19 22:26:28 UTC

[commons-vfs] branch master updated: Sort members.

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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git


The following commit(s) were added to refs/heads/master by this push:
     new 9f73e8c  Sort members.
9f73e8c is described below

commit 9f73e8cc506c67d71bee1b6a80bb6247e7418423
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Aug 19 18:26:19 2020 -0400

    Sort members.
---
 .../provider/sftp/test/SftpMultiThreadWriteTests.java  | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/sftp/test/SftpMultiThreadWriteTests.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/sftp/test/SftpMultiThreadWriteTests.java
index 4b44494..86cb4d0 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/sftp/test/SftpMultiThreadWriteTests.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/sftp/test/SftpMultiThreadWriteTests.java
@@ -37,15 +37,6 @@ import java.util.concurrent.TimeUnit;
 public class SftpMultiThreadWriteTests extends AbstractProviderTestCase {
 
     /**
-     * Returns the capabilities required by the tests of this test case.
-     */
-    @Override
-    protected Capability[] getRequiredCaps() {
-        return new Capability[]{Capability.CREATE, Capability.DELETE, Capability.GET_TYPE, Capability.LIST_CHILDREN,
-                Capability.READ_CONTENT, Capability.WRITE_CONTENT};
-    }
-
-    /**
      * Sets up a scratch folder for the test to use.
      */
     protected FileObject createScratchFolder() throws Exception {
@@ -59,6 +50,15 @@ public class SftpMultiThreadWriteTests extends AbstractProviderTestCase {
     }
 
     /**
+     * Returns the capabilities required by the tests of this test case.
+     */
+    @Override
+    protected Capability[] getRequiredCaps() {
+        return new Capability[] {Capability.CREATE, Capability.DELETE, Capability.GET_TYPE, Capability.LIST_CHILDREN,
+            Capability.READ_CONTENT, Capability.WRITE_CONTENT};
+    }
+
+    /**
      * Tests file copy from local file system in parallel mode. This was a problem with SFTP channels.
      */
     public void testParallelCopyFromLocalFileSystem() throws Exception {