[ 
https://issues.apache.org/jira/browse/METAMODEL-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14942753#comment-14942753
 ] 

ASF GitHub Bot commented on METAMODEL-182:
------------------------------------------

Github user kaspersorensen commented on the pull request:

    https://github.com/apache/metamodel/pull/53#issuecomment-145370711
  
    I'll merge based on lazy consensus.


> 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)

Reply via email to