Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CombinedWordRule.java')
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CombinedWordRule.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CombinedWordRule.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CombinedWordRule.java
index 5da2ece78f8..dd166b348e4 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CombinedWordRule.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CombinedWordRule.java
@@ -49,7 +49,7 @@ public class CombinedWordRule implements IRule {
*/
public static class WordMatcher {
/** The table of predefined words and token for this matcher */
- private Map<CharacterBuffer, IToken> fWords = new HashMap<CharacterBuffer, IToken>();
+ private Map<CharacterBuffer, IToken> fWords = new HashMap<>();
/**
* Adds a word and the token to be returned if it is detected.
@@ -236,7 +236,7 @@ public class CombinedWordRule implements IRule {
private CharacterBuffer fBuffer = new CharacterBuffer(16);
/** List of word matchers */
- private List<WordMatcher> fMatchers = new ArrayList<WordMatcher>();
+ private List<WordMatcher> fMatchers = new ArrayList<>();
/**
* Creates a rule which, with the help of an word detector, will return the token

Back to the top