From abb558851fba83978e56c173e13533f8fa512ec7 Mon Sep 17 00:00:00 2001 From: Christoph Weitkamp Date: Fri, 22 Nov 2019 09:38:48 +0100 Subject: [PATCH] Removed duplicate brackets (#1235) Signed-off-by: Christoph Weitkamp --- .../org/eclipse/smarthome/core/library/items/StringItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.core/src/main/java/org/eclipse/smarthome/core/library/items/StringItem.java b/bundles/org.openhab.core/src/main/java/org/eclipse/smarthome/core/library/items/StringItem.java index e29e251b2..7f1323ef8 100644 --- a/bundles/org.openhab.core/src/main/java/org/eclipse/smarthome/core/library/items/StringItem.java +++ b/bundles/org.openhab.core/src/main/java/org/eclipse/smarthome/core/library/items/StringItem.java @@ -43,7 +43,7 @@ public class StringItem extends GenericItem { static { acceptedDataTypes.add(UnDefType.class); acceptedDataTypes.add(StringType.class); - acceptedDataTypes.add((DateTimeType.class)); + acceptedDataTypes.add(DateTimeType.class); acceptedCommandTypes.add(RefreshType.class); acceptedCommandTypes.add(StringType.class);