*** empty log message ***
diff --git a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/imports/PluginImportOperation.java b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/imports/PluginImportOperation.java index 4ec3bed..4a1e2e6 100644 --- a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/imports/PluginImportOperation.java +++ b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/imports/PluginImportOperation.java
@@ -581,7 +581,7 @@ private void setClasspath(IProject project, IPluginModelBase model) throws CoreException { IJavaProject jProject = JavaCore.create(project); - Vector entries = new Vector(); + ArrayList entries = new ArrayList(); if (new File(model.getInstallLocation()).isFile()) { if (project.getFile("build.properties").exists()) //$NON-NLS-1$ entries.add(JavaCore.newSourceEntry(project.getFullPath())); @@ -612,7 +612,7 @@ .getOutputLocation(), null); } - private void getLinkedLibraries(IProject project, IPluginModelBase model, Vector entries) throws CoreException { + private void getLinkedLibraries(IProject project, IPluginModelBase model, ArrayList entries) throws CoreException { ClasspathUtilCore.addLibraries(model, true, false, entries); for (int i = 0; i < entries.size(); i++) { IPath path = new Path(model.getInstallLocation()); @@ -638,7 +638,7 @@ } IPath srcAttachment = entry.getSourceAttachmentPath(); IPath srcAttRoot = entry.getSourceAttachmentRootPath(); - entries.setElementAt(JavaCore.newLibraryEntry(path, srcAttachment, srcAttRoot, entry.isExported()), i); + entries.set(i, JavaCore.newLibraryEntry(path, srcAttachment, srcAttRoot, entry.isExported())); } }