mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GP-2868 - Image Cleanup - Removed unused images; removed duplicate
images; fixed image module dependency issues
This commit is contained in:
parent
91d8510993
commit
f091a084c2
633 changed files with 419 additions and 555 deletions
|
@ -200,4 +200,36 @@ public class GModule {
|
|||
public String toString() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((moduleRoot == null) ? 0 : moduleRoot.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (obj == null) {
|
||||
return false;
|
||||
}
|
||||
if (getClass() != obj.getClass()) {
|
||||
return false;
|
||||
}
|
||||
GModule other = (GModule) obj;
|
||||
if (moduleRoot == null) {
|
||||
if (other.moduleRoot != null) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (!moduleRoot.equals(other.moduleRoot)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue