mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 00:16:16 +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
|
private static final List<String> TIKA_SUPPORTED_TYPES
|
||||||
= new Tika().getParser().getSupportedTypes(new ParseContext())
|
= new Tika().getParser().getSupportedTypes(new ParseContext())
|
||||||
.parallelStream()
|
.stream()
|
||||||
.map(mt -> mt.getType() + "/" + mt.getSubtype())
|
.map(mt -> mt.getType() + "/" + mt.getSubtype())
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user