cdt/cdt_5_0_x/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/IncludeFileEntry.java
changeset 26 8717e2008e00
parent 0 0e6d23e2b466
equal deleted inserted replaced
25:68aa5b0d78d4 26:8717e2008e00
    37 	 * @return IPath
    37 	 * @return IPath
    38 	 */
    38 	 */
    39 	public IPath getIncludeFilePath() {
    39 	public IPath getIncludeFilePath() {
    40 		return includeFilePath;
    40 		return includeFilePath;
    41 	}
    41 	}
       
    42 
       
    43 	@Override
       
    44 	public int hashCode() {
       
    45 		final int prime = 31;
       
    46 		int result = super.hashCode();
       
    47 		result = prime * result
       
    48 				+ ((includeFilePath == null) ? 0 : includeFilePath.hashCode());
       
    49 		return result;
       
    50 	}
       
    51 
    42 
    52 
    43 	@Override
    53 	@Override
    44 	public boolean equals(Object obj) {
    54 	public boolean equals(Object obj) {
    45 		if (obj instanceof IIncludeFileEntry) {
    55 		if (obj instanceof IIncludeFileEntry) {
    46 			IIncludeFileEntry otherEntry = (IIncludeFileEntry) obj;
    56 			IIncludeFileEntry otherEntry = (IIncludeFileEntry) obj;