AI 144921: Fix add-on javadoc display in Eclipse (bug #1775744)

BUG=1775744

Automated import of CL 144921
This commit is contained in:
Xavier Ducrohet
2009-04-07 14:24:32 -07:00
committed by The Android Open Source Project
parent 1d8b77c7bf
commit 5993ade9b0

View File

@@ -612,7 +612,7 @@ public class AndroidClasspathContainerInitializer extends ClasspathContainerInit
// all the optional libraries use the same javadoc, so we start with this
String targetDocPath = target.getPath(IAndroidTarget.DOCS);
if (targetDocPath != null) {
paths.add(targetDocPath);
paths.add(ProjectHelper.getJavaDocPath(targetDocPath));
} else {
// we add an empty string, to always have the same count.
paths.add("");