Skip to content

Commit 8226fd0

Browse files
StypoxAudricV
authored andcommitted
[YouTube] Suppress Sonar security warning for XEE
1 parent ba68b8c commit 8226fd0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeDashManifestCreator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1649,6 +1649,7 @@ private static Document newDocument() throws ParserConfigurationException {
16491649
private static String documentToXml(@Nonnull final Document document)
16501650
throws TransformerException {
16511651

1652+
@SuppressWarnings("java:S2755") // see javadoc: this is actually taken care of
16521653
final TransformerFactory transformerFactory = TransformerFactory.newInstance();
16531654
transformerFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
16541655

0 commit comments

Comments
 (0)