mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 472765 and Bug 386675: Deprecate/comment on problem with createPath
This commit is contained in:
parent
5d6bef7eb5
commit
4d53a33882
1 changed files with 11 additions and 0 deletions
|
@ -71,7 +71,18 @@ public class MapEntrySourceContainer extends AbstractSourceContainer {
|
|||
*
|
||||
* @param path
|
||||
* @return converted string
|
||||
*
|
||||
* @deprecated createPath existed as a solution to try and store non-current
|
||||
* platform paths in an IPath, however that was limited.
|
||||
* createPath only exists for legacy case (see
|
||||
* findSourceElements below). See <a href=
|
||||
* "https://bugs.eclipse.org/bugs/show_bug.cgi?id=472765">Bug
|
||||
* 472765</a> for more details.
|
||||
* <p>
|
||||
* Instead of using createPath, keep paths as Strings and use
|
||||
* other methods to compare paths.
|
||||
*/
|
||||
@Deprecated
|
||||
public static IPath createPath(String path) {
|
||||
if (path == null)
|
||||
return null;
|
||||
|
|
Loading…
Add table
Reference in a new issue