Repository: jclouds Updated Branches: refs/heads/master 0fd013da0 -> dacd9825f
Allow overriding getUserDefinedFileAttributeView Today the filesystem blobstore provider use the extended attributes of the filesystem to store metadata. This is not always desirable as some filesystems (such as NFSv3) do not support extended metadata. The current source code does not allow to change this easily. getUserDefinedFileAttributeView could easily be overriden for this purpose and allow extensions that customize where the metadata should be stored. See also JCLOUDS-658 Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/dacd9825 Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/dacd9825 Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/dacd9825 Branch: refs/heads/master Commit: dacd9825f009867e22e385d77743fc6256792f7e Parents: 0fd013d Author: Francois Rigault <[email protected]> Authored: Thu Aug 25 17:07:57 2016 +0200 Committer: Zack Shoylev <[email protected]> Committed: Thu Sep 1 11:19:38 2016 -0500 ---------------------------------------------------------------------- .../strategy/internal/FilesystemStorageStrategyImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jclouds/blob/dacd9825/apis/filesystem/src/main/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImpl.java ---------------------------------------------------------------------- diff --git a/apis/filesystem/src/main/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImpl.java b/apis/filesystem/src/main/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImpl.java index 3de142e..319633b 100644 --- a/apis/filesystem/src/main/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImpl.java +++ b/apis/filesystem/src/main/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImpl.java @@ -704,7 +704,7 @@ public class FilesystemStorageStrategyImpl implements LocalStorageStrategy { return null; } - private UserDefinedFileAttributeView getUserDefinedFileAttributeView(Path path) throws IOException { + protected UserDefinedFileAttributeView getUserDefinedFileAttributeView(Path path) throws IOException { return getFileAttributeView(path, UserDefinedFileAttributeView.class); }
