Skip to content

Commit ca1c463

Browse files
authored
Merge pull request github#11731 from github/hmakholm/pr/no-option
remove com.semmle.util.data.Option from from extractor code interface II
2 parents f136651 + 3e85e9f commit ca1c463

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

javascript/extractor/src/com/semmle/js/extractor/HTMLExtractor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import com.semmle.js.extractor.ExtractorConfig.Platform;
1414
import com.semmle.js.extractor.ExtractorConfig.SourceType;
1515
import com.semmle.js.parser.ParseError;
16-
import com.semmle.util.data.Option;
1716
import com.semmle.util.data.Pair;
1817
import com.semmle.util.data.StringUtil;
1918
import com.semmle.util.io.WholeIO;
@@ -239,7 +238,7 @@ public Pair<List<Label>, LoCInfo> extractEx(TextualExtractor textualExtractor) {
239238
extractor.setSourceMap(textualExtractor.getSourceMap());
240239
}
241240

242-
List<Label> rootNodes = extractor.doit(Option.some(eltHandler));
241+
List<Label> rootNodes = extractor.doit(eltHandler);
243242

244243
return Pair.make(rootNodes, locInfo);
245244
}

0 commit comments

Comments
 (0)