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)