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 06bcf3327f8970111f5b06a61e5db8668f89cc36 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat Mar 6 09:51:04 2021 -0500 Sort members. --- .../java/org/apache/commons/vfs2/FilesCache.java | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/FilesCache.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/FilesCache.java index a627786..6eec3e5 100644 --- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/FilesCache.java +++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/FilesCache.java @@ -22,19 +22,16 @@ package org.apache.commons.vfs2; public interface FilesCache { /** - * Adds a FileObject to the cache. + * Purges the entries corresponding to the FileSystem. * - * @param file the file + * @param fileSystem The FileSystem. */ - void putFile(final FileObject file); + void clear(final FileSystem fileSystem); /** - * Adds a FileObject to the cache if it isn't already present. - * - * @param file the file - * @return true if the file was stored, false otherwise. + * Purges the whole cache. */ - boolean putFileIfAbsent(final FileObject file); + void close(); /** * Retrieves a FileObject from the cache by name. @@ -46,16 +43,19 @@ public interface FilesCache { FileObject getFile(final FileSystem fileSystem, final FileName fileName); /** - * Purges the entries corresponding to the FileSystem. + * Adds a FileObject to the cache. * - * @param fileSystem The FileSystem. + * @param file the file */ - void clear(final FileSystem fileSystem); + void putFile(final FileObject file); /** - * Purges the whole cache. + * Adds a FileObject to the cache if it isn't already present. + * + * @param file the file + * @return true if the file was stored, false otherwise. */ - void close(); + boolean putFileIfAbsent(final FileObject file); /** * Removes a file from cache.