From 5331615359954a07d4c918548a88b3e5e7259c68 Mon Sep 17 00:00:00 2001 From: lsiepel Date: Sun, 19 Feb 2023 21:56:55 +0100 Subject: [PATCH] [nibeuplink] Remove org.apache.common (#14416) Signed-off-by: lsiepel --- .../internal/config/NibeUplinkConfiguration.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/bundles/org.openhab.binding.nibeuplink/src/main/java/org/openhab/binding/nibeuplink/internal/config/NibeUplinkConfiguration.java b/bundles/org.openhab.binding.nibeuplink/src/main/java/org/openhab/binding/nibeuplink/internal/config/NibeUplinkConfiguration.java index 28934c05b3acc..9e4ed2b3c0f21 100644 --- a/bundles/org.openhab.binding.nibeuplink/src/main/java/org/openhab/binding/nibeuplink/internal/config/NibeUplinkConfiguration.java +++ b/bundles/org.openhab.binding.nibeuplink/src/main/java/org/openhab/binding/nibeuplink/internal/config/NibeUplinkConfiguration.java @@ -12,7 +12,6 @@ */ package org.openhab.binding.nibeuplink.internal.config; -import org.apache.commons.lang3.builder.ToStringBuilder; import org.eclipse.jdt.annotation.NonNullByDefault; import org.eclipse.jdt.annotation.Nullable; @@ -91,9 +90,9 @@ public void setHouseKeepingInterval(Integer houseKeepingInterval) { @Override public String toString() { - return new ToStringBuilder(this).append("user", getUser()).append("password", getPassword()) - .append("nibeId", getNibeId()).append("pollingInterval", getPollingInterval()) - .append("houseKeepingInterval", getHouseKeepingInterval()).append("asyncTimeout", getAsyncTimeout()) - .append("syncTimeout", getSyncTimeout()).toString(); + return getClass().getSimpleName() + "{ user=" + getUser() + ", password=" + getPassword() + ", nibeId=" + + getNibeId() + ", pollingInterval=" + getPollingInterval() + ", houseKeepingInterval=" + + getHouseKeepingInterval() + ", asyncTimeout=" + getAsyncTimeout() + ", syncTimeout=" + + getSyncTimeout() + "}"; } }