Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
package org.eclipse.text.templates;

import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import org.eclipse.jface.text.templates.TemplateContextType;

Expand All @@ -32,7 +32,7 @@
public class ContextTypeRegistry {

/** all known context types */
private final Map<String, TemplateContextType> fContextTypes= new LinkedHashMap<>();
private final Map<String, TemplateContextType> fContextTypes= new ConcurrentHashMap<>();

/**
* Adds a context type to the registry. If there already is a context type
Expand Down
Loading