mirror of
https://github.com/github/codeql.git
synced 2026-05-03 20:58:03 +02:00
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.
This commit is contained in:
@@ -13,7 +13,6 @@ import com.semmle.js.extractor.ExtractorConfig.ECMAVersion;
|
||||
import com.semmle.js.extractor.ExtractorConfig.Platform;
|
||||
import com.semmle.js.extractor.ExtractorConfig.SourceType;
|
||||
import com.semmle.js.parser.ParseError;
|
||||
import com.semmle.util.data.Option;
|
||||
import com.semmle.util.data.Pair;
|
||||
import com.semmle.util.data.StringUtil;
|
||||
import com.semmle.util.io.WholeIO;
|
||||
@@ -239,7 +238,7 @@ public class HTMLExtractor implements IExtractor {
|
||||
extractor.setSourceMap(textualExtractor.getSourceMap());
|
||||
}
|
||||
|
||||
List<Label> rootNodes = extractor.doit(Option.some(eltHandler));
|
||||
List<Label> rootNodes = extractor.doit(eltHandler);
|
||||
|
||||
return Pair.make(rootNodes, locInfo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user