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 61eeebbefc5971803e5239dc1bfc8cf31c460f80
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Jul 28 15:13:11 2022 -0400

    Use final
---
 .../commons/vfs2/provider/sftp/SftpFileSystemGroupsTests.java  | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystemGroupsTests.java
 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystemGroupsTests.java
index 6a2f7103..f7cabaa1 100644
--- 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystemGroupsTests.java
+++ 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/sftp/SftpFileSystemGroupsTests.java
@@ -38,16 +38,16 @@ public class SftpFileSystemGroupsTests {
 
     @Test
     public void shouldHandleEmptyGroupResult() {
-        StringBuilder builder = new StringBuilder("\n");
-        int[] groups = fileSystem.parseGroupIdOutput(builder);
+        final StringBuilder builder = new StringBuilder("\n");
+        final int[] groups = fileSystem.parseGroupIdOutput(builder);
 
         Assert.assertEquals("Group ids should be empty", 0, groups.length);
     }
 
     @Test
     public void shouldHandleListOfGroupIds() {
-        StringBuilder builder = new StringBuilder("1 22 333 4444\n");
-        int[] groups = fileSystem.parseGroupIdOutput(builder);
+        final StringBuilder builder = new StringBuilder("1 22 333 4444\n");
+        final int[] groups = fileSystem.parseGroupIdOutput(builder);
 
         Assert.assertEquals("Group ids should not be empty", 4, groups.length);
         Assert.assertArrayEquals(new int[]{1, 22, 333, 4444}, groups);
@@ -55,7 +55,7 @@ public class SftpFileSystemGroupsTests {
 
     @Test(expected = NumberFormatException.class)
     public void shouldThrowOnUnexpectedOutput() {
-        StringBuilder builder = new StringBuilder("abc\n");
+        final StringBuilder builder = new StringBuilder("abc\n");
         fileSystem.parseGroupIdOutput(builder);
     }
 }

Reply via email to