Applied formatter in all files

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
This commit is contained in:
Christoph Weitkamp 2019-05-01 12:38:12 +02:00 committed by Markus Rathgeb
parent 8d5d789371
commit a18e60d7d7
4 changed files with 32 additions and 31 deletions

View File

@ -19,7 +19,6 @@ import static ${package}.internal.${bindingIdCamelCase}BindingConstants.*;
import org.eclipse.jdt.annotation.NonNullByDefault;
import org.eclipse.jdt.annotation.Nullable;
import ${package}.internal.${bindingIdCamelCase}Configuration;
import org.eclipse.smarthome.core.thing.ChannelUID;
import org.eclipse.smarthome.core.thing.Thing;
import org.eclipse.smarthome.core.thing.ThingStatus;
@ -40,8 +39,7 @@ public class ${bindingIdCamelCase}Handler extends BaseThingHandler {
private final Logger logger = LoggerFactory.getLogger(${bindingIdCamelCase}Handler.class);
@Nullable
private ${bindingIdCamelCase}Configuration config;
private @Nullable ${bindingIdCamelCase}Configuration config;
public ${bindingIdCamelCase}Handler(Thing thing) {
super(thing);

View File

@ -22,7 +22,6 @@ import java.util.Set;
import org.eclipse.jdt.annotation.NonNullByDefault;
import org.eclipse.jdt.annotation.Nullable;
import ${package}.internal.${bindingIdCamelCase}Handler;
import org.eclipse.smarthome.core.thing.Thing;
import org.eclipse.smarthome.core.thing.ThingTypeUID;
import org.eclipse.smarthome.core.thing.binding.BaseThingHandlerFactory;

View File

@ -8,6 +8,10 @@ binding.${bindingId}.description = <Your localized Binding description>
thing-type.${bindingId}.sample.label = <Your localized Thing label>
thing-type.${bindingId}.sample.description = <Your localized Thing description>
# thing type config description
thing-type.config.${bindingId}.sample.config1.label = <Your localized config parameter label>
thing-type.config.${bindingId}.sample.config1.description = <Your localized config parameter description>
# channel types
channel-type.${bindingId}.sample-channel.label = <Your localized Channel label>
channel-type.${bindingId}.sample-channel.description = <Your localized Channel description>

View File

@ -15,8 +15,8 @@
<config-description>
<parameter name="config1" type="text" required="true">
<label>Sample parameter</label>
<description>This is a sample text configuration parameter.</description>
<label>Sample Parameter</label>
<description>This is a sample text configuration parameter</description>
</parameter>
</config-description>