From 8226fd044f5403ecf544ae9b81172628b4869cf5 Mon Sep 17 00:00:00 2001 From: Stypox Date: Sat, 30 Apr 2022 21:56:23 +0200 Subject: [PATCH] [YouTube] Suppress Sonar security warning for XEE --- .../extractor/services/youtube/YoutubeDashManifestCreator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeDashManifestCreator.java b/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeDashManifestCreator.java index 09e5bb439..8383d0e2b 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeDashManifestCreator.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeDashManifestCreator.java @@ -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);