diff options
author | DJ Houghton | 2003-02-06 18:10:53 +0000 |
---|---|---|
committer | DJ Houghton | 2003-02-06 18:10:53 +0000 |
commit | 448b17445b42431f2cf9e908916cffab5d524a5c (patch) | |
tree | 0dfb23c1910c92f137135d6b00fd1d9b7615d4a2 | |
parent | 5577fd7673502d6c159901bd7690c0b0d62b6eaa (diff) | |
download | eclipse.platform.runtime-448b17445b42431f2cf9e908916cffab5d524a5c.tar.gz eclipse.platform.runtime-448b17445b42431f2cf9e908916cffab5d524a5c.tar.xz eclipse.platform.runtime-448b17445b42431f2cf9e908916cffab5d524a5c.zip |
Fix for Bug 28214 [runtime] Docs on IPath.makeRelative and IPath.makeAbsolute are misleadingv20030213
-rw-r--r-- | bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/IPath.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/IPath.java b/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/IPath.java index 5c63bd10d..6dc56a108 100644 --- a/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/IPath.java +++ b/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/IPath.java @@ -259,13 +259,15 @@ public boolean isValidSegment(String segment); public String lastSegment(); /** * Returns an absolute path with the segments and device id of this path. - * If this path is absolute, it is simply returned. + * Absolute paths start with a path separator. If this path is absolute, + * it is simply returned. * * @return the new path */ public IPath makeAbsolute(); /** * Returns a relative path with the segments and device id of this path. + * Absolute paths start with a path separator and relative paths do not. * If this path is relative, it is simply returned. * * @return the new path |