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 cf5f42248..19b2a1325 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.HashMap; 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;