[
https://issues.apache.org/jira/browse/FTPSERVER-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639559#action_12639559
]
Andrea Francia commented on FTPSERVER-195:
------------------------------------------
Sorry but I have little time to dedicate to non-work projects and yesterday my
netbeans 6.5 had some problems.
I'm not sure about the isRemovable() method name I suggested because the rfc959
usese the "delete" verb and the DELE command for files, even if it uses
"remove" (and RMD) for directories. But the FtpFile represents both. And the
english words "remove" and "delete" are not true synonym. I don't know but I
don't think it's so important.
> Some boolean properties of FtpFile are not accessibile with the JavaBean
> isFoo()
> --------------------------------------------------------------------------------
>
> Key: FTPSERVER-195
> URL: https://issues.apache.org/jira/browse/FTPSERVER-195
> Project: FtpServer
> Issue Type: Bug
> Reporter: Andrea Francia
> Assignee: Niklas Gustavsson
> Fix For: 1.0-M4
>
>
> We have three properties that do not follow the JavaBean convention:
> public interface FtpFile {
> boolean hasReadPermission();
> boolean hasWritePermission();
> boolean hasDeletePermission();
> ...
> }
> They could be renamed as
> public interface FtpFile {
> boolean isReadable();
> boolean isWritable();
> boolean isRemovable();
> ...
> }
> Using the JavaBean convetion for properties allow interoperability with code
> that uses bean introspection to access to object classes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.