orderedEntries = resolvedEntries;
}
else {
List<EclipseDependency> unorderedDependencies = new ArrayList<EclipseDependency>(resolvedEntries.length);
for (IRuntimeClasspathEntry entry : resolvedEntries) {
unorderedDependencies.add(new EclipseDependency(project, entry));
}
List<EclipseDependency> orderedDependencies = new EclipseDependencyOrdering(project, newNSBundle).orderDependencies(unorderedDependencies);
orderedEntries = new IRuntimeClasspathEntry[orderedDependencies.size()];
int orderedEntryNum = 0;
for (EclipseDependency dependency : orderedDependencies) {