Skip to content

Commit 3e85e9f

Browse files
committed
remove com.semmle.util.data.Option from from extractor code interface II
com.semmle.util.data.Option is going away. Switch the single cross-repo call that mentions it to use the new Option-less overload that was introduced in semmle-code PR 44626.
1 parent 30451ee commit 3e85e9f

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)