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 2021/11/26 17:10:05 UTC

[commons-vfs] 02/16: Sort.

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

commit 3655a83ab469d66d9b71fee85d30ccd6e43c9a90
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Nov 26 09:40:41 2021 -0500

    Sort.
---
 .../org/apache/commons/vfs2/impl/DefaultFileMonitorTest.java     | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/impl/DefaultFileMonitorTest.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/impl/DefaultFileMonitorTest.java
index ac9467b..404994e 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/impl/DefaultFileMonitorTest.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/impl/DefaultFileMonitorTest.java
@@ -42,8 +42,8 @@ import org.junit.Test;
 public class DefaultFileMonitorTest {
 
     private static class CountingListener implements FileListener {
-        private final AtomicLong created = new AtomicLong();
         private final AtomicLong changed = new AtomicLong();
+        private final AtomicLong created = new AtomicLong();
         private final AtomicLong deleted = new AtomicLong();
 
         @Override
@@ -63,10 +63,11 @@ public class DefaultFileMonitorTest {
     }
 
     private enum Status {
-        CHANGED, DELETED, CREATED
+        CHANGED, CREATED, DELETED
     }
 
     private class TestFileListener implements FileListener {
+
         @Override
         public void fileChanged(final FileChangeEvent event) throws Exception {
             status = Status.CHANGED;
@@ -87,10 +88,10 @@ public class DefaultFileMonitorTest {
 
     private FileSystemManager fileSystemManager;
 
-    private File testDir;
-
     private volatile Status status;
 
+    private File testDir;
+
     private File testFile;
 
     private void deleteTestFileIfPresent() {