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