Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-1697

FileExecutor defines equals() but not hashCode()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • trayapp
    • None
    • 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 }

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

              Created:
              Updated:
              Resolved: