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 2019/10/05 19:48:27 UTC
[commons-vfs] branch master updated: Rename private method.
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 b07f4ff Rename private method.
b07f4ff is described below
commit b07f4ff4bfb2fe427d8404e0677792f4d0b63f48
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Oct 5 15:48:23 2019 -0400
Rename private method.
---
.../java/org/apache/commons/vfs2/provider/AbstractFileSystem.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileSystem.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileSystem.java
index 1fb0489..61f7a14 100644
--- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileSystem.java
+++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileSystem.java
@@ -189,10 +189,10 @@ public abstract class AbstractFileSystem extends AbstractVfsComponent implements
* @param file the file to add.
*/
protected void putFileToCache(final FileObject file) {
- getCache().putFile(file);
+ getFilesCache().putFile(file);
}
- private FilesCache getCache() {
+ private FilesCache getFilesCache() {
FilesCache files;
files = getContext().getFileSystemManager().getFilesCache();
if (files == null) {
@@ -209,7 +209,7 @@ public abstract class AbstractFileSystem extends AbstractVfsComponent implements
* @return file object or null if not found.
*/
protected FileObject getFileFromCache(final FileName name) {
- return getCache().getFile(this, name);
+ return getFilesCache().getFile(this, name);
}
/**
@@ -218,7 +218,7 @@ public abstract class AbstractFileSystem extends AbstractVfsComponent implements
* @param name The file name to remove.
*/
protected void removeFileFromCache(final FileName name) {
- getCache().removeFile(this, name);
+ getFilesCache().removeFile(this, name);
}
/**