Lines 143-149
Link Here
|
143 |
* Retuns the SourceMapper for this root, or <code>null</code> |
143 |
* Retuns the SourceMapper for this root, or <code>null</code> |
144 |
* if this root does not have attached source. |
144 |
* if this root does not have attached source. |
145 |
*/ |
145 |
*/ |
146 |
protected SourceMapper getSourceMapper() { |
146 |
protected synchronized SourceMapper getSourceMapper() { |
147 |
return this.sourceMapper; |
147 |
return this.sourceMapper; |
148 |
} |
148 |
} |
149 |
private static boolean isClasspathEntry(IPath path, IClasspathEntry[] resolvedClasspath) { |
149 |
private static boolean isClasspathEntry(IPath path, IClasspathEntry[] resolvedClasspath) { |
Lines 170-176
Link Here
|
170 |
/** |
170 |
/** |
171 |
* Sets the SourceMapper for this root. |
171 |
* Sets the SourceMapper for this root. |
172 |
*/ |
172 |
*/ |
173 |
protected void setSourceMapper(SourceMapper mapper) { |
173 |
protected synchronized void setSourceMapper(SourceMapper mapper) { |
174 |
this.sourceMapper= mapper; |
174 |
this.sourceMapper= mapper; |
175 |
} |
175 |
} |
176 |
} |
176 |
} |