From 77f73345d2e84bcfb0615ce83a713808ea61a8fa Mon Sep 17 00:00:00 2001 From: lsiepel Date: Sun, 19 Feb 2023 21:42:33 +0100 Subject: [PATCH] [km200] Remove org.apache.commons (#14411) Signed-off-by: lsiepel --- .../org/openhab/binding/km200/internal/KM200Device.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/KM200Device.java b/bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/KM200Device.java index cf5f42248d777..19b2a1325a532 100644 --- a/bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/KM200Device.java +++ b/bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/KM200Device.java @@ -19,7 +19,6 @@ import java.util.List; import java.util.Map; -import org.apache.commons.lang3.ArrayUtils; import org.eclipse.jdt.annotation.NonNullByDefault; import org.eclipse.jdt.annotation.Nullable; import org.eclipse.jetty.client.HttpClient; @@ -56,11 +55,11 @@ public class KM200Device { protected String charSet = ""; /* Needed keys for the communication */ - protected byte[] cryptKeyInit = ArrayUtils.EMPTY_BYTE_ARRAY; - protected byte[] cryptKeyPriv = ArrayUtils.EMPTY_BYTE_ARRAY; + protected byte[] cryptKeyInit = new byte[0]; + protected byte[] cryptKeyPriv = new byte[0]; /* Buderus_MD5Salt */ - protected byte[] md5Salt = ArrayUtils.EMPTY_BYTE_ARRAY; + protected byte[] md5Salt = new byte[0]; /* Device services */ public Map serviceTreeMap;