metamodel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kasper Sørensen (JIRA) <j...@apache.org>
Subject [jira] [Created] (METAMODEL-182) Directory-based (File/Hdfs)Resource doesn't properly implement getSize() and getLastModified()
Date Mon, 24 Aug 2015 08:59:46 GMT
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)

Mime
View raw message