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

[FindBugs] NativeFtpFile implements equals(), but does not - hashCode()

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.6, 1.1.0
    • Core

    Description

      In fact, i can't find why it need to implement equals() in first place. If for any map - then hashCode() will also be required. For example, this.file.getCanonicalFile().hashCode()

      Anyway, could we please have a comment why do we need equals() method?

      Attachments

        Activity

          People

            niklas Niklas Therning
            bsp Sergey Vladimirov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: