OSDN Git Service

Replace Sdk.makeRelativeTo()
authorTor Norbye <tnorbye@google.com>
Fri, 7 Jan 2011 03:09:06 +0000 (19:09 -0800)
committerTor Norbye <tnorbye@google.com>
Fri, 7 Jan 2011 14:17:21 +0000 (06:17 -0800)
commitdb6bf7972148e38434bccc283464de9272a1977e
tree4289029ec3531efb89e3385418c3d82c2426c3f0
parent3995eee9d31a0e01454e2c3f9582525e88186022
Replace Sdk.makeRelativeTo()

IPath#makeRelativeTo(IPath) was not supported on Eclipse 3.4, so we
had a local version of it in our sourcebase, as
Sdk#makeRelativeTo(IPath,IPath). However, our version only works
correctly for directories, not plain files, but I had been using it
for files as well.

Now that we no longer need to support Eclipse 3.4, remove our local
version and use the builtin path conversion method.

(Fixed some invalid javadoc too)

Change-Id: I233875e1ecc758eb1ed333686b319b138eb47c4a
eclipse/dictionary.txt
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/LayoutCanvas.java
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/xml/Hyperlinks.java
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/LibraryProperties.java
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/Sdk.java