We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3ad6b7 commit 05608cbCopy full SHA for 05608cb
cSploit/src/org/csploit/android/net/Target.java
@@ -230,7 +230,10 @@ public int getDrawableResourceId() {
230
}
231
232
public boolean equals(Object o) {
233
- return !(o == null || o.getClass() != this.getClass()) && ((Exploit) o).getId().equals(getId());
+ if(o == null || o.getClass() != this.getClass())
234
+ return false;
235
+ Exploit other = (Exploit) o;
236
+ return id == null ? other.id == null : id.equals(other.id);
237
238
239
public void addReference(Reference ref) {
0 commit comments