mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Bug 440466. Fixing a concurrency issue when parsing ASTs.
Change-Id: Iffbeaf1820bc334bf49c45cb760db98a53f4fbe1 Change-Id: Iffbeaf1820bc334bf49c45cb760db98a53f4fbe1 Signed-off-by: Eric Woestman <eric.woestman@gmail.com> Reviewed-on: https://git.eclipse.org/r/30695 Tested-by: Hudson CI Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
This commit is contained in:
parent
cb5eeb1a5d
commit
b149d46eb4
2 changed files with 2 additions and 7 deletions
|
@ -35,7 +35,7 @@ public abstract class IncludeFileContentProvider {
|
|||
* without using a cache.
|
||||
*/
|
||||
public static IncludeFileContentProvider getSavedFilesProvider() {
|
||||
return SavedFilesProvider.getInstance();
|
||||
return new SavedFilesProvider();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -20,13 +20,8 @@ import org.eclipse.core.resources.IResource;
|
|||
|
||||
|
||||
public class SavedFilesProvider extends InternalFileContentProvider {
|
||||
final private static SavedFilesProvider INSTANCE= new SavedFilesProvider();
|
||||
|
||||
public static InternalFileContentProvider getInstance() {
|
||||
return INSTANCE;
|
||||
}
|
||||
|
||||
private SavedFilesProvider() {
|
||||
public SavedFilesProvider() {
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue