View | Details | Raw Unified | Return to bug 269476
Collapse All | Expand All

(-)model/org/eclipse/jdt/internal/core/JavaModelManager.java (+1 lines)
Lines 3592-3597 Link Here
3592
3592
3593
	public static final void doNotUse() {
3593
	public static final void doNotUse() {
3594
		// used by tests to simulate a startup
3594
		// used by tests to simulate a startup
3595
		MANAGER.deltaState.doNotUse();
3595
		MANAGER = new JavaModelManager();
3596
		MANAGER = new JavaModelManager();
3596
	}
3597
	}
3597
3598
(-)model/org/eclipse/jdt/internal/core/DeltaProcessingState.java (+4 lines)
Lines 49-54 Link Here
49
	 * The delta processor for the current thread.
49
	 * The delta processor for the current thread.
50
	 */
50
	 */
51
	private ThreadLocal deltaProcessors = new ThreadLocal();
51
	private ThreadLocal deltaProcessors = new ThreadLocal();
52
	
53
	public void doNotUse() {
54
		this.deltaProcessors.set(null);
55
	}
52
56
53
	/* A table from IPath (from a classpath entry) to DeltaProcessor.RootInfo */
57
	/* A table from IPath (from a classpath entry) to DeltaProcessor.RootInfo */
54
	public HashMap roots = new HashMap();
58
	public HashMap roots = new HashMap();

Return to bug 269476