[YouTube] Suppress Sonar security warning for XEE
This commit is contained in:
parent
ba68b8c014
commit
8226fd044f
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue