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 170741 Details for
Bug 187389
[ui] task tags arent removed when disable "enable searching for task tags"
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 to delete the matching tasks when searching is disabled
187389.patch (text/plain), 1.93 KB, created by
Sarika Sinha
on 2010-06-02 01:39:14 EDT
(
hide
)
Description:
Patch to delete the matching tasks when searching is disabled
Filename:
MIME Type:
Creator:
Sarika Sinha
Created:
2010-06-02 01:39:14 EDT
Size:
1.93 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.wst.sse.core >Index: src-tasktags/org/eclipse/wst/sse/core/internal/tasks/WorkspaceTaskScanner.java >=================================================================== >RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.wst.sse.core/src-tasktags/org/eclipse/wst/sse/core/internal/tasks/WorkspaceTaskScanner.java,v >retrieving revision 1.19 >diff -u -r1.19 WorkspaceTaskScanner.java >--- src-tasktags/org/eclipse/wst/sse/core/internal/tasks/WorkspaceTaskScanner.java 26 Feb 2010 22:35:12 -0000 1.19 >+++ src-tasktags/org/eclipse/wst/sse/core/internal/tasks/WorkspaceTaskScanner.java 2 Jun 2010 05:35:49 -0000 >@@ -53,6 +53,7 @@ > private static WorkspaceTaskScanner _instance = null; > static final String SYNTHETIC_TASK = "org.eclipse.wst.sse.task-synthetic"; > static final String MODIFICATION_STAMP = "org.eclipse.wst.sse.modification-stamp"; >+ private boolean proceed = false; > > static synchronized WorkspaceTaskScanner getInstance() { > if (_instance == null) { >@@ -283,7 +284,7 @@ > finally { > progressMonitor.worked(1); > } >- if (markerAttributeMaps != null && markerAttributeMaps.length > 0) { >+ if (proceed && markerAttributeMaps != null && markerAttributeMaps.length > 0) { > if (Logger.DEBUG_TASKS) { > System.out.println("" + markerAttributeMaps.length + " tasks for " + file.getFullPath()); //$NON-NLS-1$ //$NON-NLS-2$ > } >@@ -332,10 +333,10 @@ > if (Logger.DEBUG_TASKSOVERALLPERF) { > time0 = System.currentTimeMillis(); > } >- if (init(project)) { >- internalScan(project, project, scanMonitor); >- shutdownDelegates(project); >- } >+ proceed = init(project); >+ internalScan(project, project, scanMonitor); >+ shutdownDelegates(project); >+ > if (Logger.DEBUG_TASKSOVERALLPERF) { > System.out.println("" + (System.currentTimeMillis() - time0) + "ms for " + project.getFullPath()); //$NON-NLS-1$ //$NON-NLS-2$ > }
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:
nsand.dev
:
review+
Actions:
View
|
Diff
Attachments on
bug 187389
:
170739
| 170741