You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Kasper Sørensen (JIRA)" <ji...@apache.org> on 2015/08/24 10:59:46 UTC
[jira] [Created] (METAMODEL-182) Directory-based
(File/Hdfs)Resource doesn't properly implement getSize() and
getLastModified()
Kasper Sørensen created METAMODEL-182:
-----------------------------------------
Summary: Directory-based (File/Hdfs)Resource doesn't properly implement getSize() and getLastModified()
Key: METAMODEL-182
URL: https://issues.apache.org/jira/browse/METAMODEL-182
Project: Apache MetaModel
Issue Type: Bug
Reporter: Kasper Sørensen
We managed to implement nice reading of directory-based resources with FileResource and HdfsResource, but it seems that we forgot to take a look at some of the additional methods on the Resource interface.
Especially if you look at the getSize() and getLastModified() methods, nothing changed and I am sure this doesn't work as expected when the underlying file/path is a directory instead of a single file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)