FileExecutor defines equals() but not hashCode()

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: trayapp
    • None
    • Environment:
      Platform: All, OS: All

      org.hudson.trayapp.actions.FileExecutor defines equals() but not hashCode().

      If you don't think instances of this class will ever be inserted into a
      HashMap/HashTable, the recommended hashCode implementation to use is:

      public int hashCode()

      { assert false : "hashCode not designed"; return 42; // any arbitrary constant will do }

            Assignee:
            davyboyhayes
            Reporter:
            jchristi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: