mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Change TikaTextExtractor static init parallelStream use to stream
This commit is contained in:
parent
eee99afdc0
commit
aa4474d54d
@ -56,7 +56,7 @@ class TikaTextExtractor extends FileTextExtractor {
|
||||
|
||||
private static final List<String> TIKA_SUPPORTED_TYPES
|
||||
= new Tika().getParser().getSupportedTypes(new ParseContext())
|
||||
.parallelStream()
|
||||
.stream()
|
||||
.map(mt -> mt.getType() + "/" + mt.getSubtype())
|
||||
.collect(Collectors.toList());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user