mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 12:02:20 +00:00
cherry picking from rev.19592.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19701 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
4a533e530e
commit
37aa48b0ee
1 file changed
+17
@@ -429,6 +429,23 @@ public final class FilePath implements Serializable {
|
||||
}));
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
|
||||
FilePath that = (FilePath) o;
|
||||
|
||||
if (channel != null ? !channel.equals(that.channel) : that.channel != null) return false;
|
||||
return remote.equals(that.remote);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return 31 * (channel != null ? channel.hashCode() : 0) + remote.hashCode();
|
||||
}
|
||||
|
||||
/**
|
||||
* Supported tar file compression methods.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user