Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2012-11-19 04:15:16 -0500
committerDani Megert2012-11-19 04:15:16 -0500
commitc6105d2380272f2cbd0f2794f8ddf508087b09b5 (patch)
treeb6c555a996e1ac8852d995bde821eed98278dee9
parent10d5bc0677b203348926be94a4925355a39d4e82 (diff)
downloadeclipse.platform.text-c6105d2380272f2cbd0f2794f8ddf508087b09b5.tar.gz
eclipse.platform.text-c6105d2380272f2cbd0f2794f8ddf508087b09b5.tar.xz
eclipse.platform.text-c6105d2380272f2cbd0f2794f8ddf508087b09b5.zip
Fixed bug 394504: [implementation] Incorrect synchronization inv20121119-091516I20121120-0800
TextFileBufferManager.getTextFileBuffer(IDocument)
-rw-r--r--org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/TextFileBufferManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/TextFileBufferManager.java b/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/TextFileBufferManager.java
index 7860c66f8..515156899 100644
--- a/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/TextFileBufferManager.java
+++ b/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/TextFileBufferManager.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2010 IBM Corporation and others.
+ * Copyright (c) 2000, 2012 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -409,7 +409,7 @@ public class TextFileBufferManager implements ITextFileBufferManager {
}
}
}
- synchronized (fFilesBuffers) {
+ synchronized (fFileStoreFileBuffers) {
iter= new ArrayList(fFileStoreFileBuffers.values()).iterator();
}
while (iter.hasNext()) {

Back to the top