mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 21:31:53 +01:00
Remove deprecated XStream.setupDefaultSecurity call (#2516)
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:
parent
d2557f950c
commit
875ca0602e
@ -73,7 +73,6 @@ public abstract class XmlDocumentReader<@NonNull T> {
|
||||
* @see https://x-stream.github.io/security.html
|
||||
*/
|
||||
protected void configureSecurity(XStream xstream) {
|
||||
XStream.setupDefaultSecurity(xstream);
|
||||
xstream.allowTypesByWildcard(DEFAULT_ALLOWED_TYPES_WILDCARD);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user