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

javadoc of Authority.authorize() has wrong return type documentation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0-M3
    • 1.0.0-M4
    • Ftplets
    • None

    Description

      In org.apache.ftpserver.ftplet.Authority the javadoc of the authorize method says

      • @return True if the request is authorized, false otherwise If the request
      • can not be authorized (as checked by
      • {@link #canAuthorize(AuthorizationRequest)}

        by this Authority,

      • false is returned.
        */

      But the return type is not boolean, but AuthorizationRequest.

      Attachments

        Activity

          People

            niklas Niklas Therning
            rocko Rocko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: