1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug #189623: adding "equals"

This commit is contained in:
Oleg Krasilnikov 2007-05-29 10:33:51 +00:00
parent 7847ef0e81
commit 9c8adc16a3

View file

@ -96,6 +96,18 @@ public final class MBSCustomPageData
return this.id.compareTo(other.id); return this.id.compareTo(other.id);
} }
/* (non-Javadoc)
* @see java.lang.Object#equals(java.lang.Object)
*/
public boolean equals(Object obj) {
if (obj == null || !(obj instanceof ToolchainData))
return false;
if (this == obj) {
return true;
}
return this.id.equals(((ToolchainData)obj).id);
}
} }
/** /**