mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +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:
parent
19ffaa04f2
commit
8d2f716193
2 changed files with 16 additions and 0 deletions
|
@ -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
|
2004-09-24 Chris Wiebe
|
||||||
|
|
||||||
minor icon cleanup
|
minor icon cleanup
|
||||||
|
|
|
@ -99,4 +99,15 @@ public class IncludeRefContainer extends CElementGrouping {
|
||||||
}
|
}
|
||||||
return super.equals(obj);
|
return super.equals(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see java.lang.Object#hashCode()
|
||||||
|
*/
|
||||||
|
public int hashCode() {
|
||||||
|
if (fCProject != null) {
|
||||||
|
return fCProject.hashCode();
|
||||||
|
}
|
||||||
|
return super.hashCode();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue