1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

2004-10-14 Alain Magloire

Provide the hashCode method.
	* src/org/eclipse/cdt/internal/ui/cview/IncludeRefContainer.java
This commit is contained in:
Alain Magloire 2004-10-14 17:43:27 +00:00
parent 19ffaa04f2
commit 8d2f716193
2 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2004-10-14 Alain Magloire
Provide the hashCode method.
* src/org/eclipse/cdt/internal/ui/cview/IncludeRefContainer.java
2004-09-24 Chris Wiebe
minor icon cleanup

View file

@ -99,4 +99,15 @@ public class IncludeRefContainer extends CElementGrouping {
}
return super.equals(obj);
}
/* (non-Javadoc)
* @see java.lang.Object#hashCode()
*/
public int hashCode() {
if (fCProject != null) {
return fCProject.hashCode();
}
return super.hashCode();
}
}