From 59910dbba1ee6267f39051b10ddef28ae1be3df1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20K=C3=BCper?= Date: Sun, 28 Nov 2021 18:26:54 +0100 Subject: [PATCH] 0000: Fixed compile warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sönke Küper --- .../internal/AbstractDtoAttributeSelector.java | 2 +- .../deutschebahn/internal/DeutscheBahnTrainHandler.java | 8 ++++---- .../binding/deutschebahn/internal/EventAttribute.java | 2 +- .../binding/deutschebahn/internal/TripLabelAttribute.java | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/AbstractDtoAttributeSelector.java b/bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/AbstractDtoAttributeSelector.java index 6e25825f02001..b5c6db1040b75 100644 --- a/bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/AbstractDtoAttributeSelector.java +++ b/bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/AbstractDtoAttributeSelector.java @@ -30,7 +30,7 @@ * @param type of state. */ @NonNullByDefault -public abstract class AbstractDtoAttributeSelector { +public abstract class AbstractDtoAttributeSelector { private final Function getter; private final BiConsumer setter; diff --git a/bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/DeutscheBahnTrainHandler.java b/bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/DeutscheBahnTrainHandler.java index 0652c8fd33eb9..e04b95ce48c8f 100644 --- a/bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/DeutscheBahnTrainHandler.java +++ b/bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/DeutscheBahnTrainHandler.java @@ -17,9 +17,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault; import org.eclipse.jdt.annotation.Nullable; -import org.openhab.binding.deutschebahn.internal.timetable.dto.Event; import org.openhab.binding.deutschebahn.internal.timetable.dto.TimetableStop; -import org.openhab.binding.deutschebahn.internal.timetable.dto.TripLabel; import org.openhab.core.thing.Channel; import org.openhab.core.thing.ChannelUID; import org.openhab.core.thing.Thing; @@ -126,7 +124,8 @@ private void createChannelMapping() { } /** - * Creates an {@link ChannelWithConfig} for an channel that represents an attribute of an {@link TripLabel}. + * Creates an {@link ChannelWithConfig} for an channel that represents an attribute of an + * {@link org.openhab.binding.deutschebahn.internal.timetable.dto.TripLabel}. */ private void createTripChannelConfiguration(Channel channel) { final ChannelUID channelUid = channel.getUID(); @@ -143,7 +142,8 @@ private void createTripChannelConfiguration(Channel channel) { } /** - * Creates the {@link ChannelWithConfig} for an channel that represents an attribute of an {@link Event}.} + * Creates the {@link ChannelWithConfig} for an channel that represents an attribute of an + * {@link org.openhab.binding.deutschebahn.internal.timetable.dto.Event}.} */ private void createEventChannelConfiguration(EventType eventType, Channel channel) { final ChannelUID channelUid = channel.getUID(); diff --git a/bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/EventAttribute.java b/bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/EventAttribute.java index c015858a730be..26ad3e5a098ca 100644 --- a/bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/EventAttribute.java +++ b/bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/EventAttribute.java @@ -49,7 +49,7 @@ */ @NonNullByDefault public final class EventAttribute - extends AbstractDtoAttributeSelector { + extends AbstractDtoAttributeSelector { /** * Planned Path. diff --git a/bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/TripLabelAttribute.java b/bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/TripLabelAttribute.java index 767417949bed3..2acbaeaab5e40 100644 --- a/bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/TripLabelAttribute.java +++ b/bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/TripLabelAttribute.java @@ -37,8 +37,8 @@ * @param type of state. */ @NonNullByDefault -public final class TripLabelAttribute - extends AbstractDtoAttributeSelector implements AttributeSelection { +public final class TripLabelAttribute extends + AbstractDtoAttributeSelector implements AttributeSelection { /** * Trip category.