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 ccfe866f80634bf7953144e13be43621801e8d03 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat Mar 6 10:11:59 2021 -0500 In line single use local variable. --- .../org/apache/commons/vfs2/cache/SoftRefFilesCacheTestCase.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/cache/SoftRefFilesCacheTestCase.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/cache/SoftRefFilesCacheTestCase.java index bbaed29..804c7ad 100644 --- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/cache/SoftRefFilesCacheTestCase.java +++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/cache/SoftRefFilesCacheTestCase.java @@ -16,8 +16,6 @@ */ package org.apache.commons.vfs2.cache; -import java.io.File; - import org.apache.commons.AbstractVfsTestCase; import org.apache.commons.vfs2.AbstractProviderTestConfig; import org.apache.commons.vfs2.CacheTestSuite; @@ -44,7 +42,6 @@ public class SoftRefFilesCacheTestCase extends AbstractProviderTestConfig { @Override public FileObject getBaseTestFolder(final FileSystemManager manager) throws Exception { - final File testDir = AbstractVfsTestCase.getTestDirectoryFile(); - return manager.toFileObject(testDir); + return manager.toFileObject(AbstractVfsTestCase.getTestDirectoryFile()); } }