From 6eb37e02afbf6141c3cfbf6d85a2a9d957c7525d Mon Sep 17 00:00:00 2001 From: Karel Goderis Date: Mon, 25 Aug 2014 10:10:56 +0200 Subject: [PATCH] Fix typo --- .../sonos/internal/SonosGenericBindingProvider.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bundles/binding/org.openhab.binding.sonos/src/main/java/org/openhab/binding/sonos/internal/SonosGenericBindingProvider.java b/bundles/binding/org.openhab.binding.sonos/src/main/java/org/openhab/binding/sonos/internal/SonosGenericBindingProvider.java index abfc1a1cdeb..59157a64bb3 100644 --- a/bundles/binding/org.openhab.binding.sonos/src/main/java/org/openhab/binding/sonos/internal/SonosGenericBindingProvider.java +++ b/bundles/binding/org.openhab.binding.sonos/src/main/java/org/openhab/binding/sonos/internal/SonosGenericBindingProvider.java @@ -170,16 +170,16 @@ private void parseBindingConfig(SonosBindingConfig config,Item item, */ private Command createCommandFromString(Item item, String commandAsString) throws BindingConfigParseException { - List> acceptedType = new ArrayList>(); + List> acceptedTypes = new ArrayList>(); if(item!=null) { - acceptedType = item.getAcceptedCommandTypes(); + acceptedTypes = item.getAcceptedCommandTypes(); } else { - acceptedType.add(StringType.class); + acceptedTypes.add(StringType.class); } - Command command = TypeParser.parseCommand(acceptedType, commandAsString); + Command command = TypeParser.parseCommand(acceptedTypes, commandAsString); if (command == null) { throw new BindingConfigParseException("couldn't create Command from '" + commandAsString + "' ");