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

(-)model/org/eclipse/jdt/internal/core/JavaModelManager.java (-1 / +1 lines)
Lines 1143-1149 Link Here
1143
		// create the delta builder (this remembers the current content of the working copy)
1143
		// create the delta builder (this remembers the current content of the working copy)
1144
		// outside the perWorkingCopyInfos lock (see bug 50667)
1144
		// outside the perWorkingCopyInfos lock (see bug 50667)
1145
		JavaElementDeltaBuilder deltaBuilder = null;
1145
		JavaElementDeltaBuilder deltaBuilder = null;
1146
		if (workingCopy.isPrimary()) {
1146
		if (workingCopy.isPrimary() && workingCopy.hasUnsavedChanges()) {
1147
			deltaBuilder = new JavaElementDeltaBuilder(workingCopy);
1147
			deltaBuilder = new JavaElementDeltaBuilder(workingCopy);
1148
		}
1148
		}
1149
		PerWorkingCopyInfo info = null;
1149
		PerWorkingCopyInfo info = null;

Return to bug 113371