Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 68684 Details for
Bug 184960
Duplicate Fragment Entries in the Target Platform
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch
bug184960.txt (text/plain), 1.42 KB, created by
Brian Bauman
on 2007-05-24 17:49:24 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Brian Bauman
Created:
2007-05-24 17:49:24 EDT
Size:
1.42 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.pde.core >Index: src/org/eclipse/pde/internal/core/PluginPathFinder.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/PluginPathFinder.java,v >retrieving revision 1.21 >diff -u -r1.21 PluginPathFinder.java >--- src/org/eclipse/pde/internal/core/PluginPathFinder.java 22 Jan 2007 22:52:11 -0000 1.21 >+++ src/org/eclipse/pde/internal/core/PluginPathFinder.java 24 May 2007 21:48:30 -0000 >@@ -16,6 +16,7 @@ > import java.net.MalformedURLException; > import java.net.URL; > import java.util.ArrayList; >+import java.util.HashSet; > import java.util.Properties; > > import org.eclipse.core.runtime.IPath; >@@ -69,7 +70,7 @@ > * @return array of ".../plugins" or ".../features" Files > */ > private static File[] getSites(String platformHome, boolean features) { >- ArrayList sites = new ArrayList(); >+ HashSet sites = new HashSet(); > File file = new File(platformHome, features ? "features" : "plugins"); //$NON-NLS-1$ //$NON-NLS-2$ > if (!features && !file.exists()) > file = new File(platformHome); >@@ -174,7 +175,7 @@ > * @return URLs to plugins/features > */ > public static URL[] scanLocations(File[] sites) { >- ArrayList result = new ArrayList(); >+ HashSet result = new HashSet(); > for (int i = 0; i < sites.length; i++){ > if (!sites[i].exists()) > continue;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
mike.pawlowski
:
review+
Actions:
View
|
Diff
Attachments on
bug 184960
: 68684