From dbfc123e5e05d9c8f80dd907f02faa1e54ae116a Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 29 Nov 2018 22:29:21 +0100 Subject: [PATCH] Use ParserUtils.parseXmlBoolean() where appropriate --- .../smackx/hoxt/provider/HttpOverXmppReqProvider.java | 8 +++++--- .../smackx/iot/control/element/SetBoolData.java | 6 ++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/smack-experimental/src/main/java/org/jivesoftware/smackx/hoxt/provider/HttpOverXmppReqProvider.java b/smack-experimental/src/main/java/org/jivesoftware/smackx/hoxt/provider/HttpOverXmppReqProvider.java index 0a69ab4bd..6edf5ca0c 100644 --- a/smack-experimental/src/main/java/org/jivesoftware/smackx/hoxt/provider/HttpOverXmppReqProvider.java +++ b/smack-experimental/src/main/java/org/jivesoftware/smackx/hoxt/provider/HttpOverXmppReqProvider.java @@ -16,6 +16,8 @@ */ package org.jivesoftware.smackx.hoxt.provider; +import org.jivesoftware.smack.util.ParserUtils; + import org.jivesoftware.smackx.hoxt.packet.HttpMethod; import org.jivesoftware.smackx.hoxt.packet.HttpOverXmppReq; @@ -47,13 +49,13 @@ public class HttpOverXmppReqProvider extends AbstractHttpOverXmppProvider