]> git.basschouten.com Git - openhab-addons.git/commitdiff
[km200] Remove org.apache.commons (#14411)
authorlsiepel <leosiepel@gmail.com>
Sun, 19 Feb 2023 20:42:33 +0000 (21:42 +0100)
committerGitHub <noreply@github.com>
Sun, 19 Feb 2023 20:42:33 +0000 (21:42 +0100)
Signed-off-by: lsiepel <leosiepel@gmail.com>
bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/KM200Device.java

index cf5f42248d777c2205f67b832f138a83b5fbf6b9..19b2a1325a5320926b941a1ebbf032a18b82958f 100644 (file)
@@ -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<String, KM200ServiceObject> serviceTreeMap;