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 87c33848 Camel-case test method name 87c33848 is described below commit 87c3384853a998b28147c5094ecc9626970f7aba Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu Oct 19 13:30:35 2023 -0400 Camel-case test method name --- .../test/java/org/apache/commons/vfs2/filter/BaseFilterTest.java | 6 +++--- .../apache/commons/vfs2/provider/local/WindowsFileNameTests.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/filter/BaseFilterTest.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/filter/BaseFilterTest.java index d2a42955..d5bcbcfd 100644 --- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/filter/BaseFilterTest.java +++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/filter/BaseFilterTest.java @@ -81,7 +81,7 @@ public abstract class BaseFilterTest { * * @return Path and file name divided by the separator. */ - public static String concatPathAndFilename(final String path, final String fileName, final String separator) { + public static String concatPathAndFileName(final String path, final String fileName, final String separator) { if (fileName == null) { throw new IllegalArgumentException("file name cannot be null"); @@ -259,7 +259,7 @@ public abstract class BaseFilterTest { final File[] files = listFiles(srcDir, filter); for (final File file : files) { if (file.isDirectory()) { - zipDir(file, filter, concatPathAndFilename(destPath, file.getName(), File.separator), out); + zipDir(file, filter, concatPathAndFileName(destPath, file.getName(), File.separator), out); } else { zipFile(file, destPath, out); } @@ -298,7 +298,7 @@ public abstract class BaseFilterTest { final byte[] buf = new byte[1024]; try (InputStream in = new BufferedInputStream(Files.newInputStream(srcFile.toPath()))) { - final ZipEntry zipEntry = new ZipEntry(concatPathAndFilename(destPath, srcFile.getName(), File.separator)); + final ZipEntry zipEntry = new ZipEntry(concatPathAndFileName(destPath, srcFile.getName(), File.separator)); zipEntry.setTime(srcFile.lastModified()); out.putNextEntry(zipEntry); int len; diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/local/WindowsFileNameTests.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/local/WindowsFileNameTests.java index af3ee4e9..69eb98da 100644 --- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/local/WindowsFileNameTests.java +++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/local/WindowsFileNameTests.java @@ -32,7 +32,7 @@ import org.junit.jupiter.api.Assertions; public class WindowsFileNameTests extends AbstractProviderTestCase { @Test - public void testWindowsFilenameParserError() { + public void testWindowsFileNameParserError() { // check VFS-338 with 2+4 slashes we want a dedicated error try { final String file = "file://////"; @@ -48,7 +48,7 @@ public class WindowsFileNameTests extends AbstractProviderTestCase { } @Test - public void testWindowsFilenameUNCStartError() { + public void testWindowsFileNameUNCStartError() { try { final String file = "file://///"; final DefaultFileSystemManager manager = getManager();