diff --git a/bundles/org.openhab.core.addon.marketplace/src/main/java/org/openhab/core/addon/marketplace/AbstractRemoteAddonService.java b/bundles/org.openhab.core.addon.marketplace/src/main/java/org/openhab/core/addon/marketplace/AbstractRemoteAddonService.java index 257b9f368..02c1abc6a 100644 --- a/bundles/org.openhab.core.addon.marketplace/src/main/java/org/openhab/core/addon/marketplace/AbstractRemoteAddonService.java +++ b/bundles/org.openhab.core.addon.marketplace/src/main/java/org/openhab/core/addon/marketplace/AbstractRemoteAddonService.java @@ -123,7 +123,7 @@ public abstract class AbstractRemoteAddonService implements AddonService { } /** - * Add an {@link MarketplaceAddonHandler) to this service + * Add a {@link MarketplaceAddonHandler) to this service * * This needs to be implemented by the addon-services because the handlers are references to OSGi services and * the @Reference annotation is not inherited. @@ -134,7 +134,7 @@ public abstract class AbstractRemoteAddonService implements AddonService { protected abstract void addAddonHandler(MarketplaceAddonHandler handler); /** - * Remove an {@link MarketplaceAddonHandler) from this service + * Remove a {@link MarketplaceAddonHandler) from this service * * This needs to be implemented by the addon-services because the handlers are references to OSGi services and * unbind methods can't be inherited. diff --git a/bundles/org.openhab.core.addon.marketplace/src/main/java/org/openhab/core/addon/marketplace/internal/community/CommunityMarketplaceAddonService.java b/bundles/org.openhab.core.addon.marketplace/src/main/java/org/openhab/core/addon/marketplace/internal/community/CommunityMarketplaceAddonService.java index 1179522fa..3f599102a 100644 --- a/bundles/org.openhab.core.addon.marketplace/src/main/java/org/openhab/core/addon/marketplace/internal/community/CommunityMarketplaceAddonService.java +++ b/bundles/org.openhab.core.addon.marketplace/src/main/java/org/openhab/core/addon/marketplace/internal/community/CommunityMarketplaceAddonService.java @@ -272,7 +272,7 @@ public class CommunityMarketplaceAddonService extends AbstractRemoteAddonService } /** - * Transforms a {@link DiscourseTopicItem} to a {@link Addon} + * Transforms a {@link DiscourseTopicItem} to an {@link Addon} * * @param topic the topic * @return the list item @@ -344,7 +344,7 @@ public class CommunityMarketplaceAddonService extends AbstractRemoteAddonService } /** - * Transforms a {@link DiscourseTopicResponseDTO} to a {@link Addon} + * Transforms a {@link DiscourseTopicResponseDTO} to an {@link Addon} * * @param topic the topic * @return the list item diff --git a/bundles/org.openhab.core.audio/src/main/java/org/openhab/core/audio/AudioSink.java b/bundles/org.openhab.core.audio/src/main/java/org/openhab/core/audio/AudioSink.java index fef5b66f9..2ef5cd6be 100644 --- a/bundles/org.openhab.core.audio/src/main/java/org/openhab/core/audio/AudioSink.java +++ b/bundles/org.openhab.core.audio/src/main/java/org/openhab/core/audio/AudioSink.java @@ -53,7 +53,7 @@ public interface AudioSink { * If the passed {@link AudioStream} is not supported by this instance, an {@link UnsupportedAudioStreamException} * is thrown. * - * If the passed {@link AudioStream} has a {@link AudioFormat} not supported by this instance, + * If the passed {@link AudioStream} has an {@link AudioFormat} not supported by this instance, * an {@link UnsupportedAudioFormatException} is thrown. * * In case the audioStream is null, this should be interpreted as a request to end any currently playing stream. diff --git a/bundles/org.openhab.core.audio/src/main/java/org/openhab/core/audio/internal/javasound/JavaSoundAudioSource.java b/bundles/org.openhab.core.audio/src/main/java/org/openhab/core/audio/internal/javasound/JavaSoundAudioSource.java index 518a4e383..fa6197d0e 100644 --- a/bundles/org.openhab.core.audio/src/main/java/org/openhab/core/audio/internal/javasound/JavaSoundAudioSource.java +++ b/bundles/org.openhab.core.audio/src/main/java/org/openhab/core/audio/internal/javasound/JavaSoundAudioSource.java @@ -229,7 +229,7 @@ public class JavaSoundAudioSource implements AudioSource { } /** - * Converts a javax.sound.sampled.AudioFormat to a org.openhab.core.audio.AudioFormat + * Converts a javax.sound.sampled.AudioFormat to an org.openhab.core.audio.AudioFormat * * @param audioFormat the AudioFormat to convert * @return The converted AudioFormat diff --git a/bundles/org.openhab.core.automation/src/main/java/org/openhab/core/automation/RuleExecution.java b/bundles/org.openhab.core.automation/src/main/java/org/openhab/core/automation/RuleExecution.java index 46fc534cb..4162960ed 100644 --- a/bundles/org.openhab.core.automation/src/main/java/org/openhab/core/automation/RuleExecution.java +++ b/bundles/org.openhab.core.automation/src/main/java/org/openhab/core/automation/RuleExecution.java @@ -17,7 +17,7 @@ import java.util.Date; import org.eclipse.jdt.annotation.NonNullByDefault; /** - * Expected execution of an {@link Rule}. + * Expected execution of a {@link Rule}. * * @author Sönke Küper - Initial contribution */ diff --git a/bundles/org.openhab.core.config.xml/src/main/java/org/openhab/core/config/xml/ConfigDescriptionParameterGroupConverter.java b/bundles/org.openhab.core.config.xml/src/main/java/org/openhab/core/config/xml/ConfigDescriptionParameterGroupConverter.java index 19724c742..b531f5901 100644 --- a/bundles/org.openhab.core.config.xml/src/main/java/org/openhab/core/config/xml/ConfigDescriptionParameterGroupConverter.java +++ b/bundles/org.openhab.core.config.xml/src/main/java/org/openhab/core/config/xml/ConfigDescriptionParameterGroupConverter.java @@ -24,8 +24,7 @@ import com.thoughtworks.xstream.io.HierarchicalStreamReader; /** * The {@link ConfigDescriptionParameterGroupConverter} creates a {@link ConfigDescriptionParameterGroup} instance from - * a {@code option} XML - * node. + * an {@code option} XML node. * * @author Chris Jackson - Initial contribution */ diff --git a/bundles/org.openhab.core.io.rest.audio/src/main/java/org/openhab/core/io/rest/audio/internal/AudioMapper.java b/bundles/org.openhab.core.io.rest.audio/src/main/java/org/openhab/core/io/rest/audio/internal/AudioMapper.java index 92abe4ed3..039d82093 100644 --- a/bundles/org.openhab.core.io.rest.audio/src/main/java/org/openhab/core/io/rest/audio/internal/AudioMapper.java +++ b/bundles/org.openhab.core.io.rest.audio/src/main/java/org/openhab/core/io/rest/audio/internal/AudioMapper.java @@ -27,7 +27,7 @@ import org.openhab.core.audio.AudioSource; public class AudioMapper { /** - * Maps a {@link AudioSource} to an {@link AudioSourceDTO}. + * Maps an {@link AudioSource} to an {@link AudioSourceDTO}. * * @param source the audio source * @param locale the locale to use for the DTO @@ -39,7 +39,7 @@ public class AudioMapper { } /** - * Maps a {@link AudioSink} to an {@link AudioSinkDTO}. + * Maps an {@link AudioSink} to an {@link AudioSinkDTO}. * * @param sink the audio sink * @param locale the locale to use for the DTO diff --git a/bundles/org.openhab.core.io.rest.auth/src/main/java/org/openhab/core/io/rest/auth/internal/JwtHelper.java b/bundles/org.openhab.core.io.rest.auth/src/main/java/org/openhab/core/io/rest/auth/internal/JwtHelper.java index 43635954c..e837a1bac 100644 --- a/bundles/org.openhab.core.io.rest.auth/src/main/java/org/openhab/core/io/rest/auth/internal/JwtHelper.java +++ b/bundles/org.openhab.core.io.rest.auth/src/main/java/org/openhab/core/io/rest/auth/internal/JwtHelper.java @@ -133,7 +133,7 @@ public class JwtHelper { } /** - * Performs verifications on a JWT token, then parses it into a {@link AuthenticationException} instance + * Performs verifications on a JWT token, then parses it into an {@link AuthenticationException} instance * * @param jwt the base64-encoded JWT token from the request * @return the {@link Authentication} derived from the information in the token diff --git a/bundles/org.openhab.core.io.rest.voice/src/main/java/org/openhab/core/io/rest/voice/internal/HLIMapper.java b/bundles/org.openhab.core.io.rest.voice/src/main/java/org/openhab/core/io/rest/voice/internal/HLIMapper.java index 1b7798d20..79c4a6bcb 100644 --- a/bundles/org.openhab.core.io.rest.voice/src/main/java/org/openhab/core/io/rest/voice/internal/HLIMapper.java +++ b/bundles/org.openhab.core.io.rest.voice/src/main/java/org/openhab/core/io/rest/voice/internal/HLIMapper.java @@ -28,7 +28,7 @@ import org.openhab.core.voice.text.HumanLanguageInterpreter; public class HLIMapper { /** - * Maps a {@link HumanLanguageInterpreter} to an {@link HumanLanguageInterpreterDTO}. + * Maps a {@link HumanLanguageInterpreter} to a {@link HumanLanguageInterpreterDTO}. * * @param hli the human language interpreter * @param locale the locale to use for the DTO diff --git a/bundles/org.openhab.core.io.rest.voice/src/main/java/org/openhab/core/io/rest/voice/internal/VoiceMapper.java b/bundles/org.openhab.core.io.rest.voice/src/main/java/org/openhab/core/io/rest/voice/internal/VoiceMapper.java index 23d845482..45eaf3e99 100644 --- a/bundles/org.openhab.core.io.rest.voice/src/main/java/org/openhab/core/io/rest/voice/internal/VoiceMapper.java +++ b/bundles/org.openhab.core.io.rest.voice/src/main/java/org/openhab/core/io/rest/voice/internal/VoiceMapper.java @@ -24,7 +24,7 @@ import org.openhab.core.voice.Voice; public class VoiceMapper { /** - * Maps a {@link Voice} to an {@link VoiceDTO}. + * Maps a {@link Voice} to a {@link VoiceDTO}. * * @param voice the voice * diff --git a/bundles/org.openhab.core.model.script/src/org/openhab/core/model/script/actions/Semantics.java b/bundles/org.openhab.core.model.script/src/org/openhab/core/model/script/actions/Semantics.java index af0d54d4f..86e655489 100644 --- a/bundles/org.openhab.core.model.script/src/org/openhab/core/model/script/actions/Semantics.java +++ b/bundles/org.openhab.core.model.script/src/org/openhab/core/model/script/actions/Semantics.java @@ -45,7 +45,7 @@ public class Semantics { } /** - * Checks if the given {@link Item} is a {@link Equipment}. + * Checks if the given {@link Item} is an {@link Equipment}. * * @param item the Item to check * @return return true, if the given Item is an Equipment, false otherwise diff --git a/bundles/org.openhab.core.storage.json/src/main/java/org/openhab/core/storage/json/internal/migration/RenamingTypeMigrator.java b/bundles/org.openhab.core.storage.json/src/main/java/org/openhab/core/storage/json/internal/migration/RenamingTypeMigrator.java index fc43aa882..89c68aea6 100644 --- a/bundles/org.openhab.core.storage.json/src/main/java/org/openhab/core/storage/json/internal/migration/RenamingTypeMigrator.java +++ b/bundles/org.openhab.core.storage.json/src/main/java/org/openhab/core/storage/json/internal/migration/RenamingTypeMigrator.java @@ -15,7 +15,7 @@ package org.openhab.core.storage.json.internal.migration; import org.eclipse.jdt.annotation.NonNullByDefault; /** - * The {@link RenamingTypeMigrator} is an {@link TypeMigrator} for renaming types + * The {@link RenamingTypeMigrator} is a {@link TypeMigrator} for renaming types * * @author Jan N. Klug - Initial contribution */ diff --git a/bundles/org.openhab.core.thing.xml/src/main/java/org/openhab/core/thing/xml/internal/EventDescriptionConverter.java b/bundles/org.openhab.core.thing.xml/src/main/java/org/openhab/core/thing/xml/internal/EventDescriptionConverter.java index ea55ff04c..d56dbf0a6 100644 --- a/bundles/org.openhab.core.thing.xml/src/main/java/org/openhab/core/thing/xml/internal/EventDescriptionConverter.java +++ b/bundles/org.openhab.core.thing.xml/src/main/java/org/openhab/core/thing/xml/internal/EventDescriptionConverter.java @@ -32,7 +32,7 @@ import com.thoughtworks.xstream.io.HierarchicalStreamReader; /** * The {@link EventDescriptionConverter} is a concrete implementation of the {@code XStream} {@link Converter} interface - * used to convert a event description within an XML document into a {@link EventDescription} object. + * used to convert a event description within an XML document into an {@link EventDescription} object. *

* This converter converts {@code state} XML tags. * diff --git a/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/link/events/ItemChannelLinkAddedEvent.java b/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/link/events/ItemChannelLinkAddedEvent.java index 782d762e5..90e7b7990 100644 --- a/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/link/events/ItemChannelLinkAddedEvent.java +++ b/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/link/events/ItemChannelLinkAddedEvent.java @@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault; import org.openhab.core.thing.link.dto.ItemChannelLinkDTO; /** - * A {@link ItemChannelLinkAddedEvent} notifies subscribers that an item channel link has been added. + * An {@link ItemChannelLinkAddedEvent} notifies subscribers that an item channel link has been added. * Events must be created with the {@link LinkEventFactory}. * * @author Dennis Nobel - Initial contribution diff --git a/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/link/events/ItemChannelLinkRemovedEvent.java b/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/link/events/ItemChannelLinkRemovedEvent.java index d02ef1fd0..b0c1baaab 100644 --- a/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/link/events/ItemChannelLinkRemovedEvent.java +++ b/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/link/events/ItemChannelLinkRemovedEvent.java @@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault; import org.openhab.core.thing.link.dto.ItemChannelLinkDTO; /** - * A {@link ItemChannelLinkRemovedEvent} notifies subscribers that an item channel link has been removed. + * An {@link ItemChannelLinkRemovedEvent} notifies subscribers that an item channel link has been removed. * Events must be created with the {@link LinkEventFactory}. * * @author Dennis Nobel - Initial contribution diff --git a/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/type/AutoUpdatePolicy.java b/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/type/AutoUpdatePolicy.java index 7704e76a2..1973ebec3 100644 --- a/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/type/AutoUpdatePolicy.java +++ b/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/type/AutoUpdatePolicy.java @@ -43,7 +43,7 @@ public enum AutoUpdatePolicy { RECOMMEND; /** - * Parses the input string into a {@link AutoUpdatePolicy}. + * Parses the input string into an {@link AutoUpdatePolicy}. * * @param input the input string * @return the parsed AutoUpdatePolicy diff --git a/bundles/org.openhab.core.transform/src/main/java/org/openhab/core/transform/TransformationService.java b/bundles/org.openhab.core.transform/src/main/java/org/openhab/core/transform/TransformationService.java index 51ad63a58..0d2acd9e2 100644 --- a/bundles/org.openhab.core.transform/src/main/java/org/openhab/core/transform/TransformationService.java +++ b/bundles/org.openhab.core.transform/src/main/java/org/openhab/core/transform/TransformationService.java @@ -38,7 +38,7 @@ public interface TransformationService { /** * Transforms the input source by means of the given function and returns the transformed * output. The transformation may return null to express its operation resulted in a null - * output. In case of any error an {@link TransformationException} should be thrown. + * output. In case of any error a {@link TransformationException} should be thrown. * * @param function the function to be used to transform the input * @param source the input to be transformed diff --git a/bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/KSService.java b/bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/KSService.java index 22aa6e5ce..348934f77 100644 --- a/bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/KSService.java +++ b/bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/KSService.java @@ -67,7 +67,7 @@ public interface KSService { * fired {@link KSEvent} events targeting the passed {@link KSListener}. * * The passed {@link AudioStream} must be of a supported {@link AudioFormat}. - * In other words a {@link AudioFormat} compatible with one returned from + * In other words an {@link AudioFormat} compatible with one returned from * the {@code getSupportedFormats()} method. * * The passed {@code Locale} must be supported. That is to say it must be diff --git a/bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/STTService.java b/bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/STTService.java index b1f323487..4294cba34 100644 --- a/bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/STTService.java +++ b/bundles/org.openhab.core.voice/src/main/java/org/openhab/core/voice/STTService.java @@ -67,7 +67,7 @@ public interface STTService { * fired {@link STTEvent} events targeting the passed {@link STTListener}. * * The passed {@link AudioStream} must be of a supported {@link AudioFormat}. - * In other words a {@link AudioFormat} compatible with one returned from + * In other words an {@link AudioFormat} compatible with one returned from * the {@code getSupportedFormats()} method. * * The passed {@code Locale} must be supported. That is to say it must be diff --git a/bundles/org.openhab.core/src/main/java/org/openhab/core/auth/UserRegistry.java b/bundles/org.openhab.core/src/main/java/org/openhab/core/auth/UserRegistry.java index b4f54c125..c547ded3d 100644 --- a/bundles/org.openhab.core/src/main/java/org/openhab/core/auth/UserRegistry.java +++ b/bundles/org.openhab.core/src/main/java/org/openhab/core/auth/UserRegistry.java @@ -40,7 +40,7 @@ public interface UserRegistry extends Registry, AuthenticationProv public User register(String username, String password, Set roles); /** - * Change the password for an {@link User} in this registry. The implementation receives the new password and is + * Change the password for a {@link User} in this registry. The implementation receives the new password and is * responsible for their secure storage (for instance by hashing the password). * * @param username the username of the existing user diff --git a/bundles/org.openhab.core/src/main/java/org/openhab/core/auth/client/oauth2/OAuthClientService.java b/bundles/org.openhab.core/src/main/java/org/openhab/core/auth/client/oauth2/OAuthClientService.java index 708783911..bb71e74ff 100644 --- a/bundles/org.openhab.core/src/main/java/org/openhab/core/auth/client/oauth2/OAuthClientService.java +++ b/bundles/org.openhab.core/src/main/java/org/openhab/core/auth/client/oauth2/OAuthClientService.java @@ -277,7 +277,7 @@ public interface OAuthClientService extends AutoCloseable { boolean isClosed(); /** - * Adds a {@link AccessTokenRefreshListener}. + * Adds an {@link AccessTokenRefreshListener}. * * @param listener the listener to add */ diff --git a/bundles/org.openhab.core/src/main/java/org/openhab/core/types/EventOption.java b/bundles/org.openhab.core/src/main/java/org/openhab/core/types/EventOption.java index 6f60b29d8..e05da8541 100644 --- a/bundles/org.openhab.core/src/main/java/org/openhab/core/types/EventOption.java +++ b/bundles/org.openhab.core/src/main/java/org/openhab/core/types/EventOption.java @@ -23,7 +23,7 @@ public final class EventOption { private String label; /** - * Creates a {@link EventOption} object. + * Creates an {@link EventOption} object. * * @param value value of the event * @param label label