mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-04-29 00:10:35 +05:30
[YouTube] Suppress Sonar security warning for XEE
This commit is contained in:
parent
ba68b8c014
commit
8226fd044f
@ -1649,6 +1649,7 @@ public final class YoutubeDashManifestCreator {
|
||||
private static String documentToXml(@Nonnull final Document document)
|
||||
throws TransformerException {
|
||||
|
||||
@SuppressWarnings("java:S2755") // see javadoc: this is actually taken care of
|
||||
final TransformerFactory transformerFactory = TransformerFactory.newInstance();
|
||||
transformerFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user