Remove deprecated XStream.setupDefaultSecurity calls (#11365)

The XStream.setupDefaultSecurity method is deprecated since XStream 1.4.18.
It no longer does anything, because this is the default in newer XStream versions.

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born
2021-10-10 20:30:07 +02:00
committed by GitHub
parent 3253fbece8
commit d4e15bfbd6
3 changed files with 0 additions and 3 deletions

View File

@@ -59,7 +59,6 @@ public class DbXmlInfoReader {
}
private void configureSecurity(XStream xstream) {
XStream.setupDefaultSecurity(xstream);
xstream.allowTypesByWildcard(new String[] { Project.class.getPackageName() + ".**" });
}