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:
@@ -63,7 +63,6 @@ public class CcuGateway extends AbstractHomematicGateway {
|
||||
HttpClient httpClient) {
|
||||
super(id, config, gatewayAdapter, httpClient);
|
||||
|
||||
XStream.setupDefaultSecurity(xStream);
|
||||
xStream.allowTypesByWildcard(new String[] { HmDevice.class.getPackageName() + ".**" });
|
||||
xStream.setClassLoader(CcuGateway.class.getClassLoader());
|
||||
xStream.autodetectAnnotations(true);
|
||||
|
||||
Reference in New Issue
Block a user