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 134785 Details for
Bug 272528
[WorkingSets] AIOOBE when trying to remove breakpoint by doubleclick on nearby line
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]
Another possible patch
patch_272528_1.txt (text/plain), 2.59 KB, created by
Hitesh
on 2009-05-07 10:24:55 EDT
(
hide
)
Description:
Another possible patch
Filename:
MIME Type:
Creator:
Hitesh
Created:
2009-05-07 10:24:55 EDT
Size:
2.59 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.workbench >Index: Eclipse UI/org/eclipse/ui/internal/AbstractWorkingSetManager.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/AbstractWorkingSetManager.java,v >retrieving revision 1.37 >diff -u -r1.37 AbstractWorkingSetManager.java >--- Eclipse UI/org/eclipse/ui/internal/AbstractWorkingSetManager.java 23 Apr 2009 17:53:04 -0000 1.37 >+++ Eclipse UI/org/eclipse/ui/internal/AbstractWorkingSetManager.java 7 May 2009 14:21:12 -0000 >@@ -24,6 +24,7 @@ > import java.util.SortedSet; > import java.util.TreeSet; > >+import org.eclipse.core.commands.common.EventManager; > import org.eclipse.core.runtime.Assert; > import org.eclipse.core.runtime.IAdaptable; > import org.eclipse.core.runtime.IExtension; >@@ -38,15 +39,11 @@ > import org.eclipse.core.runtime.dynamichelpers.IExtensionChangeHandler; > import org.eclipse.core.runtime.dynamichelpers.IExtensionTracker; > import org.eclipse.core.runtime.jobs.Job; >- >-import org.eclipse.core.commands.common.EventManager; >- >-import org.eclipse.swt.widgets.Display; >-import org.eclipse.swt.widgets.Shell; >- > import org.eclipse.jface.util.IPropertyChangeListener; > import org.eclipse.jface.util.PropertyChangeEvent; >- >+import org.eclipse.osgi.util.NLS; >+import org.eclipse.swt.widgets.Display; >+import org.eclipse.swt.widgets.Shell; > import org.eclipse.ui.IElementFactory; > import org.eclipse.ui.IMemento; > import org.eclipse.ui.IPersistableElement; >@@ -69,8 +66,6 @@ > import org.eclipse.ui.internal.registry.WorkingSetRegistry; > import org.eclipse.ui.progress.WorkbenchJob; > import org.eclipse.ui.statushandlers.StatusManager; >- >-import org.eclipse.osgi.util.NLS; > import org.osgi.framework.Bundle; > import org.osgi.framework.BundleContext; > import org.osgi.framework.BundleEvent; >@@ -267,7 +262,7 @@ > * @see org.eclipse.ui.IWorkingSetManager > */ > public IWorkingSet[] getWorkingSets() { >- SortedSet visibleSubset = new TreeSet(WorkingSetComparator.INSTANCE); >+ SortedSet visibleSubset = new TreeSet(new WorkingSetComparator()); > for (Iterator i = workingSets.iterator(); i.hasNext();) { > IWorkingSet workingSet = (IWorkingSet) i.next(); > if (workingSet.isVisible()) { >@@ -280,7 +275,7 @@ > public IWorkingSet[] getAllWorkingSets() { > IWorkingSet[] sets = (IWorkingSet[]) workingSets > .toArray(new IWorkingSet[workingSets.size()]); >- Arrays.sort(sets, WorkingSetComparator.INSTANCE); >+ Arrays.sort(sets, new WorkingSetComparator()); > return sets; > } >
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 272528
:
133734
|
134784
| 134785