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 60953 Details for
Bug 155781
[Project Sets] Exported Team Project Sets (.psf) should be sorted
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 for org.eclipse.team.ui
155781.txt (text/plain), 1.71 KB, created by
DJ Houghton
on 2007-03-15 11:06:12 EDT
(
hide
)
Description:
patch for org.eclipse.team.ui
Filename:
MIME Type:
Creator:
DJ Houghton
Created:
2007-03-15 11:06:12 EDT
Size:
1.71 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.team.ui >Index: src/org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard.java,v >retrieving revision 1.16 >diff -u -r1.16 ProjectSetExportWizard.java >--- src/org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard.java 20 Sep 2006 21:20:13 -0000 1.16 >+++ src/org/eclipse/team/internal/ui/wizards/ProjectSetExportWizard.java 15 Mar 2007 15:05:02 -0000 >@@ -95,9 +95,13 @@ > RepositoryProvider provider = RepositoryProvider.getProvider(project); > if (provider != null) { > String id = provider.getID(); >- List list = (List)map.get(id); >+ Set list = (Set)map.get(id); > if (list == null) { >- list = new ArrayList(); >+ list = new TreeSet(new Comparator() { >+ public int compare(Object o1, Object o2) { >+ return ((IProject) o1).getName().toLowerCase().compareTo(((IProject) o2).getName().toLowerCase()); >+ } >+ }); > map.put(id, list); > } > list.add(project); >@@ -122,7 +126,7 @@ > String id = (String)it.next(); > IMemento memento = xmlMemento.createChild("provider"); //$NON-NLS-1$ > memento.putString("id", id); //$NON-NLS-1$ >- List list = (List)map.get(id); >+ Set list = (Set)map.get(id); > IProject[] projectArray = (IProject[])list.toArray(new IProject[list.size()]); > RepositoryProviderType providerType = RepositoryProviderType.getProviderType(id); > ProjectSetCapability serializer = providerType.getProjectSetCapability();
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
Actions:
View
|
Diff
Attachments on
bug 155781
: 60953 |
60954