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

Lyor Goldstein commented on SSHD-1128:
--------------------------------------

{quote}
 believe simply returning false by existing implementation is misleading, 
probably throwing UnsupportedOperationException would be  better until we have 
some default implementation
{quote}
I disagree - that would break the documented behavior of the API - the only 
exceptions it is allowed to throw are {{IOException}} and {{SecurityException}} 
- neither one appropriate for the case at hand.

> Files.isHidden() always false 
> ------------------------------
>
>                 Key: SSHD-1128
>                 URL: https://issues.apache.org/jira/browse/SSHD-1128
>             Project: MINA SSHD
>          Issue Type: Improvement
>            Reporter: Logan
>            Priority: Minor
>             Fix For: 2.1.0, 2.6.0
>
>
> When connected to sftp and reading file attributes `Files.isHidden()` always 
> return false. Digger deeper into the code `SftpFileSystemProvider.isHidden()` 
> is hard coded to return false.  Is this something that can fixed to adopt 
> `Files.isHidden()` specification?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to