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 134809 Details for
Bug 268879
External folders project not cleaned up
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Refactored patch
patch_268879.txt (text/plain), 2.47 KB, created by
Olivier Thomann
on 2009-05-07 12:18:12 EDT
(
hide
)
Description:
Refactored patch
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2009-05-07 12:18:12 EDT
Size:
2.47 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: model/org/eclipse/jdt/internal/core/JavaModelManager.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java,v >retrieving revision 1.434 >diff -u -r1.434 JavaModelManager.java >--- model/org/eclipse/jdt/internal/core/JavaModelManager.java 7 May 2009 16:08:11 -0000 1.434 >+++ model/org/eclipse/jdt/internal/core/JavaModelManager.java 7 May 2009 16:18:26 -0000 >@@ -3960,26 +3960,29 @@ > if (VERBOSE) > traceVariableAndContainers("Saved", start); //$NON-NLS-1$ > >- if (context.getKind() == ISaveContext.FULL_SAVE) { >- // save non-chaining jar cache on snapshot/full save >- saveNonChainingJarsCache(); >- >- // will need delta since this save (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=38658) >- context.needDelta(); >- >- // clean up indexes on workspace full save >- // (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=52347) >- IndexManager manager = this.indexManager; >- if (manager != null >- // don't force initialization of workspace scope as we could be shutting down >- // (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=93941) >- && this.workspaceScope != null) { >- manager.cleanUpIndexes(); >- } >- } >- // clean up external folders on full save or snapshot >- if (context.getKind() == ISaveContext.FULL_SAVE || context.getKind() == ISaveContext.SNAPSHOT) { >- this.externalFoldersManager.cleanUp(null); >+ switch(context.getKind()) { >+ case ISaveContext.FULL_SAVE : { >+ // save non-chaining jar cache on snapshot/full save >+ saveNonChainingJarsCache(); >+ >+ // will need delta since this save (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=38658) >+ context.needDelta(); >+ >+ // clean up indexes on workspace full save >+ // (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=52347) >+ IndexManager manager = this.indexManager; >+ if (manager != null >+ // don't force initialization of workspace scope as we could be shutting down >+ // (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=93941) >+ && this.workspaceScope != null) { >+ manager.cleanUpIndexes(); >+ } >+ } >+ //$FALL-THROUGH$ >+ case ISaveContext.SNAPSHOT : { >+ // clean up external folders on full save or snapshot >+ this.externalFoldersManager.cleanUp(null); >+ } > } > > IProject savedProject = context.getProject();
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 268879
:
132825
|
134653
| 134809