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:
@@ -59,7 +59,6 @@ public class DbXmlInfoReader {
|
||||
}
|
||||
|
||||
private void configureSecurity(XStream xstream) {
|
||||
XStream.setupDefaultSecurity(xstream);
|
||||
xstream.allowTypesByWildcard(new String[] { Project.class.getPackageName() + ".**" });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user