cdt/cdt_5_0_x/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/LibraryEntry.java
equal
deleted
inserted
replaced
131 return true; |
131 return true; |
132 } |
132 } |
133 return super.equals(obj); |
133 return super.equals(obj); |
134 } |
134 } |
135 |
135 |
|
136 @Override |
|
137 public int hashCode() { |
|
138 final int prime = 31; |
|
139 int result = super.hashCode(); |
|
140 result = prime * result |
|
141 + ((libraryPath == null) ? 0 : libraryPath.hashCode()); |
|
142 result = prime |
|
143 * result |
|
144 + ((sourceAttachmentPath == null) ? 0 : sourceAttachmentPath |
|
145 .hashCode()); |
|
146 result = prime |
|
147 * result |
|
148 + ((sourceAttachmentPrefixMapping == null) ? 0 |
|
149 : sourceAttachmentPrefixMapping.hashCode()); |
|
150 result = prime |
|
151 * result |
|
152 + ((sourceAttachmentRootPath == null) ? 0 |
|
153 : sourceAttachmentRootPath.hashCode()); |
|
154 return result; |
|
155 } |
|
156 |
136 public IPath getFullLibraryPath() { |
157 public IPath getFullLibraryPath() { |
137 IPath p; |
158 IPath p; |
138 IPath lib = getLibraryPath(); |
159 IPath lib = getLibraryPath(); |
139 if (!basePath.isEmpty()) { |
160 if (!basePath.isEmpty()) { |
140 IPath loc = basePath; |
161 IPath loc = basePath; |