KeywordInContextIndexBuilder.st
changeset 4129 04b54f7b1a82
parent 4128 4cc1535fa7dc
child 4130 2532973b50e6
--- a/KeywordInContextIndexBuilder.st	Thu Oct 13 14:46:18 2016 +0200
+++ b/KeywordInContextIndexBuilder.st	Thu Oct 13 14:48:17 2016 +0200
@@ -383,8 +383,8 @@
 
 initialize
     keywordToLinesMapping := Dictionary new.
-    excluded := Set new.
-    separatorAlgorithm := [:line | line asCollectionOfSubstringsSeparatedByAny:' .:,;-'].
+    self excluded:(Set new).
+    self separatorAlgorithm:[:line | line asCollectionOfSubstringsSeparatedByAny:' .:,;-'].
 ! !
 
 !KeywordInContextIndexBuilder class methodsFor:'documentation'!