Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-195

Some boolean properties of FtpFile are not accessibile with the JavaBean isFoo()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0-M4
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            niklas Niklas Therning
            andreafrancia Andrea Francia
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: