FtpServer
  1. FtpServer
  2. FTPSERVER-375

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

    Details

    • Type: Wish Wish
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.6, 1.1.0
    • Component/s: Core
    • Labels:

      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?

        Activity

          People

          • Assignee:
            Niklas Gustavsson
            Reporter:
            Sergey Vladimirov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development