Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2012-11-19 09:15:16 +0000
committerDani Megert2012-11-19 09:15:16 +0000
commitc6105d2380272f2cbd0f2794f8ddf508087b09b5 (patch)
treeb6c555a996e1ac8852d995bde821eed98278dee9 /org.eclipse.core.filebuffers
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)
Diffstat (limited to 'org.eclipse.core.filebuffers')
-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 7860c66f82f..515156899b3 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