diff options
Diffstat (limited to 'core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/spelling/SpellCheckEngine.java')
-rw-r--r-- | core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/spelling/SpellCheckEngine.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/spelling/SpellCheckEngine.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/spelling/SpellCheckEngine.java index d0f6c1c38b7..765ae321621 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/spelling/SpellCheckEngine.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/spelling/SpellCheckEngine.java @@ -92,7 +92,7 @@ public class SpellCheckEngine implements ISpellCheckEngine, IPropertyChangeListe return fgLocalesWithInstalledDictionaries = Collections.emptySet(); } - fgLocalesWithInstalledDictionaries = new HashSet<Locale>(); + fgLocalesWithInstalledDictionaries = new HashSet<>(); int fileNameCount = fileNames.length; for (int i = 0; i < fileNameCount; i++) { String fileName = fileNames[i]; @@ -215,13 +215,13 @@ public class SpellCheckEngine implements ISpellCheckEngine, IPropertyChangeListe } /** The registered locale insensitive dictionaries */ - private Set<ISpellDictionary> fGlobalDictionaries = new HashSet<ISpellDictionary>(); + private Set<ISpellDictionary> fGlobalDictionaries = new HashSet<>(); /** The spell checker for fLocale */ private ISpellChecker fChecker = null; /** The registered locale sensitive dictionaries */ - private Map<Locale, ISpellDictionary> fLocaleDictionaries = new HashMap<Locale, ISpellDictionary>(); + private Map<Locale, ISpellDictionary> fLocaleDictionaries = new HashMap<>(); /** The user dictionary */ private ISpellDictionary fUserDictionary = null; |