]> git.basschouten.com Git - openhab-addons.git/commitdiff
Typos a/an (#13812)
authorДилян Палаузов <git-dpa@aegee.org>
Thu, 1 Dec 2022 13:30:50 +0000 (15:30 +0200)
committerGitHub <noreply@github.com>
Thu, 1 Dec 2022 13:30:50 +0000 (14:30 +0100)
105 files changed:
bundles/org.openhab.binding.ahawastecollection/README.md
bundles/org.openhab.binding.ahawastecollection/src/main/java/org/openhab/binding/ahawastecollection/internal/AhaCollectionScheduleFactory.java
bundles/org.openhab.binding.ahawastecollection/src/main/java/org/openhab/binding/ahawastecollection/internal/AhaCollectionScheduleImpl.java
bundles/org.openhab.binding.ahawastecollection/src/main/java/org/openhab/binding/ahawastecollection/internal/AhaWasteCollectionHandler.java
bundles/org.openhab.binding.ahawastecollection/src/main/java/org/openhab/binding/ahawastecollection/internal/CollectionDate.java
bundles/org.openhab.binding.ahawastecollection/src/main/resources/OH-INF/thing/thing-types.xml
bundles/org.openhab.binding.ahawastecollection/src/test/java/org/openhab/binding/ahawastecollection/internal/AhaWasteCollectionHandlerTest.java
bundles/org.openhab.binding.allplay/src/main/java/org/openhab/binding/allplay/internal/AllPlayAudioSink.java
bundles/org.openhab.binding.amazonechocontrol/README.md
bundles/org.openhab.binding.amazonechocontrol/src/main/java/org/openhab/binding/amazonechocontrol/internal/discovery/SmartHomeDevicesDiscovery.java
bundles/org.openhab.binding.atlona/src/main/java/org/openhab/binding/atlona/internal/StatefulHandlerCallback.java
bundles/org.openhab.binding.bluetooth.bluegiga/README.md
bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/internal/BlueGigaTransactionManager.java
bundles/org.openhab.binding.bluetooth.bluez/README.md
bundles/org.openhab.binding.bluetooth.roaming/README.md
bundles/org.openhab.binding.bluetooth/src/main/java/org/openhab/binding/bluetooth/BluetoothAdapter.java
bundles/org.openhab.binding.darksky/src/main/java/org/openhab/binding/darksky/internal/discovery/DarkSkyDiscoveryService.java
bundles/org.openhab.binding.darksky/src/main/java/org/openhab/binding/darksky/internal/model/DarkSkyCurrentlyData.java
bundles/org.openhab.binding.darksky/src/main/java/org/openhab/binding/darksky/internal/model/DarkSkyDailyData.java
bundles/org.openhab.binding.darksky/src/main/java/org/openhab/binding/darksky/internal/model/DarkSkyHourlyData.java
bundles/org.openhab.binding.darksky/src/main/java/org/openhab/binding/darksky/internal/model/DarkSkyJsonWeatherData.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/AbstractDtoAttributeSelector.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/AttributeSelection.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/DeutscheBahnTrainHandler.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/EventAttribute.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/EventAttributeSelection.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/EventType.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/TripLabelAttribute.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/filter/AndPredicate.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/filter/ChannelNameEquals.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/filter/FilterParser.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/filter/FilterParserException.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/filter/FilterScanner.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/filter/FilterToken.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/filter/OperatorToken.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/filter/OrPredicate.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/filter/TimetableStopByStringEventAttributeFilter.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/timetable/TimetableLoader.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/timetable/TimetableStopComparator.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/timetable/TimetablesV1ApiFactory.java
bundles/org.openhab.binding.deutschebahn/src/test/java/org/openhab/binding/deutschebahn/internal/timetable/TimetablesV1ApiStub.java
bundles/org.openhab.binding.deutschebahn/src/test/java/org/openhab/binding/deutschebahn/internal/timetable/TimetablesV1ImplTestHelper.java
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/event/EventHandler.java
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/event/EventListener.java
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/event/types/EventItem.java
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/listener/SceneStatusListener.java
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/manager/SceneManager.java
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/manager/impl/SceneManagerImpl.java
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/manager/impl/StructureManagerImpl.java
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/manager/impl/TemperatureControlManager.java
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/serverconnection/DsAPI.java
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/serverconnection/impl/JSONResponseHandler.java
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/structure/devices/Device.java
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/structure/devices/impl/DeviceImpl.java
bundles/org.openhab.binding.dsmr/src/main/java/org/openhab/binding/dsmr/internal/device/cosem/CosemDecimal.java
bundles/org.openhab.binding.dsmr/src/main/java/org/openhab/binding/dsmr/internal/device/cosem/CosemObject.java
bundles/org.openhab.binding.elerotransmitterstick/src/main/java/org/openhab/binding/elerotransmitterstick/internal/config/EleroChannelConfig.java
bundles/org.openhab.binding.exec/README.md
bundles/org.openhab.binding.homeconnect/src/main/java/org/openhab/binding/homeconnect/internal/discovery/HomeConnectDiscoveryService.java
bundles/org.openhab.binding.innogysmarthome/src/main/java/org/openhab/binding/innogysmarthome/internal/client/entity/action/IntegerActionParam.java
bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/handler/KM200ThingHandler.java
bundles/org.openhab.binding.lcn/src/main/java/org/openhab/binding/lcn/internal/connection/Connection.java
bundles/org.openhab.binding.lifx/src/main/java/org/openhab/binding/lifx/internal/dto/PacketFactory.java
bundles/org.openhab.binding.livisismarthome/src/main/java/org/openhab/binding/livisismarthome/internal/client/api/entity/action/IntegerActionParamDTO.java
bundles/org.openhab.binding.livisismarthome/src/main/java/org/openhab/binding/livisismarthome/internal/discovery/LivisiDeviceDiscoveryService.java
bundles/org.openhab.binding.logreader/src/3rdparty/java/org/apache/commons/io/input/Tailer.java
bundles/org.openhab.binding.lutron/src/main/java/org/openhab/binding/lutron/internal/config/OGroupConfig.java
bundles/org.openhab.binding.mihome/src/main/java/org/openhab/binding/mihome/internal/socket/XiaomiSocket.java
bundles/org.openhab.binding.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/ChannelState.java
bundles/org.openhab.binding.mqtt.homeassistant/src/main/java/org/openhab/binding/mqtt/homeassistant/internal/config/dto/AbstractChannelConfiguration.java
bundles/org.openhab.binding.nanoleaf/src/main/java/org/openhab/binding/nanoleaf/internal/model/Layout.java
bundles/org.openhab.binding.neeo/src/main/java/org/openhab/binding/neeo/internal/NeeoUtil.java
bundles/org.openhab.binding.neeo/src/main/java/org/openhab/binding/neeo/internal/models/NeeoBrain.java
bundles/org.openhab.binding.neeo/src/main/java/org/openhab/binding/neeo/internal/models/NeeoDevice.java
bundles/org.openhab.binding.neeo/src/main/java/org/openhab/binding/neeo/internal/models/NeeoDeviceDetails.java
bundles/org.openhab.binding.neeo/src/main/java/org/openhab/binding/neeo/internal/models/NeeoDeviceDetailsTiming.java
bundles/org.openhab.binding.neeo/src/main/java/org/openhab/binding/neeo/internal/models/NeeoMacro.java
bundles/org.openhab.binding.neeo/src/main/java/org/openhab/binding/neeo/internal/models/NeeoRecipe.java
bundles/org.openhab.binding.neeo/src/main/java/org/openhab/binding/neeo/internal/models/NeeoRoom.java
bundles/org.openhab.binding.neeo/src/main/java/org/openhab/binding/neeo/internal/models/NeeoScenario.java
bundles/org.openhab.binding.onkyo/src/main/java/org/openhab/binding/onkyo/internal/automation/modules/OnkyoThingActions.java
bundles/org.openhab.binding.plugwise/src/main/java/org/openhab/binding/plugwise/internal/PlugwiseThingDiscoveryService.java
bundles/org.openhab.binding.plugwise/src/main/java/org/openhab/binding/plugwise/internal/protocol/PowerChangeRequestMessage.java
bundles/org.openhab.binding.pulseaudio/src/main/java/org/openhab/binding/pulseaudio/internal/PulseaudioClient.java
bundles/org.openhab.binding.russound/src/main/java/org/openhab/binding/russound/internal/rio/AbstractBridgeHandler.java
bundles/org.openhab.binding.russound/src/main/java/org/openhab/binding/russound/internal/rio/AbstractThingHandler.java
bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/manager/ShellyManagerOverviewPage.java
bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/manager/ShellyManagerPage.java
bundles/org.openhab.binding.smartmeter/src/main/java/org/openhab/binding/smartmeter/internal/ObisCode.java
bundles/org.openhab.binding.smartmeter/src/main/java/org/openhab/binding/smartmeter/internal/sml/SmlUnitConversion.java
bundles/org.openhab.binding.systeminfo/src/main/java/org/openhab/binding/systeminfo/internal/model/DeviceNotFoundException.java
bundles/org.openhab.binding.tesla/src/main/java/org/openhab/binding/tesla/internal/handler/VehicleListener.java
bundles/org.openhab.binding.wundergroundupdatereceiver/README.md
bundles/org.openhab.binding.xmltv/src/main/java/org/openhab/binding/xmltv/internal/jaxb/MediaChannel.java
bundles/org.openhab.binding.yamahareceiver/src/main/java/org/openhab/binding/yamahareceiver/internal/protocol/ProtocolFactory.java
bundles/org.openhab.io.neeo/src/main/java/org/openhab/io/neeo/internal/NeeoUtil.java
bundles/org.openhab.io.neeo/src/main/java/org/openhab/io/neeo/internal/models/NeeoNotification.java
bundles/org.openhab.io.neeo/src/main/java/org/openhab/io/neeo/internal/models/NeeoRecipe.java
bundles/org.openhab.io.neeo/src/main/java/org/openhab/io/neeo/internal/models/NeeoRecipeUrls.java
bundles/org.openhab.io.neeo/src/main/java/org/openhab/io/neeo/internal/models/NeeoSensorNotification.java
bundles/org.openhab.io.neeo/src/main/java/org/openhab/io/neeo/internal/models/NeeoSystemInfo.java
bundles/org.openhab.persistence.influxdb/src/main/java/org/openhab/persistence/influxdb/internal/FilterCriteriaQueryCreator.java
bundles/org.openhab.persistence.influxdb/src/main/java/org/openhab/persistence/influxdb/internal/InfluxDBStateConvertUtils.java
bundles/org.openhab.transform.jinja/README.md
bundles/org.openhab.transform.jsonpath/src/main/java/org/openhab/transform/jsonpath/internal/JSonPathTransformationService.java

index a78b2a1998bda3b3d66ea2854ecdfa55a2d0e870..504884a66826b40760f6d8f62b82649029585fc8 100644 (file)
@@ -71,7 +71,7 @@ DateTime collectionDay_paper "Next paper collection" {channel="ahawastecollectio
 ```
 
 
-Example for rule that sends an notification with collected waste types on day before collection
+Example for rule that sends a notification with collected waste types on day before collection
 
 ```
 triggers:
index 8e73e2fe6ecfd11f73bc6ca81d6bb1962e404e25..72198ceed9e3ee18fe6fbd472866a68225dc7c04 100644 (file)
@@ -23,7 +23,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 public interface AhaCollectionScheduleFactory {
 
     /**
-     * Creates an new {@link AhaCollectionSchedule} for the given location.
+     * Creates a new {@link AhaCollectionSchedule} for the given location.
      */
     public AhaCollectionSchedule create(final String commune, final String street, final String houseNumber,
             final String houseNumberAddon, final String collectionPlace);
index b39e545a6ff6772694bc4b7aa87602fe0c289474..057d53482ce69d75e702763ce3c2ab6f4f76751d 100644 (file)
@@ -56,7 +56,7 @@ final class AhaCollectionScheduleImpl implements AhaCollectionSchedule {
     private final String collectionPlace;
 
     /**
-     * Creates an new {@link AhaCollectionScheduleImpl} for the given location.
+     * Creates a new {@link AhaCollectionScheduleImpl} for the given location.
      */
     public AhaCollectionScheduleImpl(final String commune, final String street, final String houseNumber,
             final String houseNumberAddon, final String collectionPlace) {
@@ -149,7 +149,7 @@ final class AhaCollectionScheduleImpl implements AhaCollectionSchedule {
     }
 
     /**
-     * Returns <code>true</code> if the row is an (empty) delimiter row or if its an row that contains the download
+     * Returns <code>true</code> if the row is an (empty) delimiter row or if its a row that contains the download
      * buttons for ical.
      */
     private boolean isDelimiterOrDownloadRow(Element currentRow) {
index 2a628d10d96ac1299a774c405e1ce2d62937719f..65e11b06de73df9fe68c723509ca6a4c3366d485 100644 (file)
@@ -125,7 +125,7 @@ public class AhaWasteCollectionHandler extends BaseThingHandler {
     }
 
     /**
-     * Schedules an job that updates the collection dates at midnight.
+     * Schedules a job that updates the collection dates at midnight.
      */
     private void restartJob() {
         this.logger.debug("Restarting jobs for thing {}", this.getThing().getUID());
index 70fca86597b1b5bf95c9afb344b684016ca7044f..0143a65934d61dc6782778553084414b9d3029f8 100644 (file)
@@ -19,7 +19,7 @@ import java.util.List;
 import org.eclipse.jdt.annotation.NonNullByDefault;
 
 /**
- * Contains the next collection dates for an given waste type.
+ * Contains the next collection dates for a given waste type.
  * 
  * @author Sönke Küper - Initial contribution
  */
@@ -70,7 +70,7 @@ final class CollectionDate {
     private final List<Date> dates;
 
     /**
-     * Creates an new {@link CollectionDate}.
+     * Creates a new {@link CollectionDate}.
      */
     public CollectionDate(final WasteType type, final List<Date> dates) {
         this.type = type;
index 6fe06a53f525981985bd0125f6942c18d19ed717..68c07f8e35f085902fbe209e6890a7bc17ca4336 100644 (file)
@@ -41,7 +41,7 @@
                </config-description>
        </thing-type>
 
-       <!-- Channel type that represents the collection time of an waste type. -->
+       <!-- Channel type that represents the collection time of a waste type. -->
        <channel-type id="collectionDateGeneralWaste">
                <item-type>DateTime</item-type>
                <label>General Waste</label>
index 9e709f3911e2f2248103083cba182bc294bf85d0..77abbb0166ebf0908889d676ca15add9c3842e9f 100644 (file)
@@ -58,7 +58,7 @@ public class AhaWasteCollectionHandlerTest {
     }
 
     /**
-     * Exception indicating that the execution of an script within the stub-Scheduler failed.
+     * Exception indicating that the execution of a script within the stub-Scheduler failed.
      */
     private static class SchedulerRuntimeException extends RuntimeException {
 
@@ -70,7 +70,7 @@ public class AhaWasteCollectionHandlerTest {
     }
 
     /**
-     * Creates an {@link CronScheduler} that executes all commands synchronous.
+     * Creates a {@link CronScheduler} that executes all commands synchronous.
      */
     @SuppressWarnings("unchecked")
     private static CronScheduler createStubScheduler() {
index 8989c0a4d63042f7d5f6977c2a0281e1fd349f6d..bb8fe0d28e392fe7a6400843574760c3b55f08fd 100644 (file)
@@ -32,7 +32,7 @@ import org.slf4j.LoggerFactory;
 import de.kaizencode.tchaikovsky.exception.SpeakerException;
 
 /**
- * The {@link AllPlayAudioSink} make AllPlay speakers available as a {@link AudioSink}.
+ * The {@link AllPlayAudioSink} make AllPlay speakers available as an {@link AudioSink}.
  *
  * @author Dominic Lerbs - Initial contribution
  */
index a2428e6202f8da308ca69afb78e147072bf052fa..1faaf5ede473b2b1306536a8e33ab6139f44d929 100644 (file)
@@ -599,7 +599,7 @@ then
 end
 ```
 
-## Playing an alarm sound for 15 seconds with an openHAB rule if an door contact was opened:
+## Playing an alarm sound for 15 seconds with an openHAB rule if a door contact was opened:
 
 1) Do get the ID of your sound, follow the steps in "How To Get IDs"
 2) Write down the text in the square brackets. e.g. ECHO:system_alerts_repetitive01 for the nightstand sound
index 2f7c8ef242888bc28783f8d97f399907655005d9..90031c480dec5518d471871934dcd62e0e0a616d 100644 (file)
@@ -215,7 +215,7 @@ public class SmartHomeDevicesDiscovery extends AbstractDiscoveryService {
                 Set<SmartHomeDevice> supportedChildren = SmartHomeDeviceHandler.getSupportedSmartHomeDevices(shg,
                         deviceList);
                 if (supportedChildren.isEmpty()) {
-                    // No children with an supported interface
+                    // No children with a supported interface
                     continue;
                 }
                 thingUID = new ThingUID(THING_TYPE_SMART_HOME_DEVICE_GROUP, bridgeThingUID, id.replace(".", "-"));
index 68dd279ab4b106a4e28388474f0fb04538fef698..9f975e0ad765d0e673c56eb7709f3108bfb0a822 100644 (file)
@@ -24,7 +24,7 @@ import org.openhab.core.types.State;
 
 /**
  * Defines an implementation of {@link AtlonaHandlerCallback} that will remember the last state
- * for an channelId and suppress the callback if the state hasn't changed
+ * for a channelId and suppress the callback if the state hasn't changed
  *
  * @author Tim Roberts - Initial contribution
  */
index cdc6433daf4a229b235d523479493a09b15d6f2a..61a340bece3f0d63364f1f2e127a8d8ce7bc7d19 100644 (file)
@@ -22,7 +22,7 @@ Additionally, the parameter `backgroundDiscovery` can be set to true/false. When
 
 ## Example
 
-This is how an BlueGiga adapter can be configured textually in a *.things file:
+This is how a BlueGiga adapter can be configured textually in a *.things file:
 
 ```
 Bridge bluetooth:bluegiga:1 [ port="/dev/ttyS0", backgroundDiscovery=false ]
index 5ddc474d8da50e124511eaf4ca4b868d9d9db8eb..f02ef6c28d0f346728a9ccac9003802b6c97ed32 100644 (file)
@@ -184,7 +184,7 @@ public class BlueGigaTransactionManager implements BlueGigaSerialEventListener {
     }
 
     /**
-     * Sends an BlueGiga request without waiting for the response.
+     * Sends a BlueGiga request without waiting for the response.
      *
      * @param bleCommand {@link BlueGigaCommand}
      * @return response {@link Future} {@link BlueGigaResponse}
index 8d6c16ef1d3d4e859b79dd6e532149def5af4b24..8df6ce38e0c558d35c22b40cdb05bbbda6dcf0d7 100644 (file)
@@ -57,7 +57,7 @@ Additionally, the parameter `backgroundDiscovery` can be set to true/false.When
 
 ## Example
 
-This is how an BlueZ adapter can be configured textually in a *.things file:
+This is how a BlueZ adapter can be configured textually in a *.things file:
 
 ```
 Bridge bluetooth:bluez:hci0 [ address="12:34:56:78:90:AB", backgroundDiscovery=false ]
index df7b147c16378a4122c442b0b4fbd40df19c2eb1..78808eaf22fffa29add16c896e245e930a81b3ca 100644 (file)
@@ -35,7 +35,7 @@ The `backgroundDiscovery` parameter is true by default.
 
 ## Example
 
-This is how an Roaming adapter can be configured textually in a *.things file:
+This is how a Roaming adapter can be configured textually in a *.things file:
 
 ```
 Bridge bluetooth:roaming:ctrl "BLE Roaming Adapter" [ backgroundDiscovery=true]
index 5b706ce7254c2f6f81595bf16681575fc2d2fc6d..9b97e65ef02f8cf26707cd97a2c61844964fa976 100644 (file)
@@ -19,7 +19,7 @@ import org.openhab.core.thing.ThingUID;
 
 /**
  * The {@link BluetoothAdapter} class defines the standard adapter API that must be implemented by bridge handlers,
- * which are then required to be registered as an BluetoothAdapter OSGi service.
+ * which are then required to be registered as a BluetoothAdapter OSGi service.
  * <p>
  * <b>Scanning</b>
  * The API assumes that the adapter is "always" scanning to enable beacons to be received.
index eacb0ca9f5f1fea74bd0ccd5a39c4b3caf219a28..1ed905a676a8f5032f7f52b48646972a3fc70844 100644 (file)
@@ -53,7 +53,7 @@ public class DarkSkyDiscoveryService extends AbstractDiscoveryService {
     private final DarkSkyAPIHandler bridgeHandler;
 
     /**
-     * Creates an DarkSkyLocationDiscoveryService.
+     * Creates a DarkSkyLocationDiscoveryService.
      */
     public DarkSkyDiscoveryService(DarkSkyAPIHandler bridgeHandler, LocationProvider locationProvider,
             LocaleProvider localeProvider, TranslationProvider i18nProvider) {
index 808ba79ac5a2c8176b8b2ee391d5092520609e8f..e213d0317a7cb8b1957c9594cfdf670e2dc56ae9 100644 (file)
@@ -13,7 +13,7 @@
 package org.openhab.binding.darksky.internal.model;
 
 /**
- * The {@link DarkSkyCurrentlyData} is the Java class used to map the JSON response to an Dark Sky request.
+ * The {@link DarkSkyCurrentlyData} is the Java class used to map the JSON response to a Dark Sky request.
  *
  * @author Christoph Weitkamp - Initial contribution
  */
index 95eaa4034285af8a7174e13f01f3f3737c6ed9e4..d1c0c846376cec317372621be40ae0c6df8703d1 100644 (file)
@@ -17,7 +17,7 @@ import java.util.List;
 import org.eclipse.jdt.annotation.Nullable;
 
 /**
- * The {@link DarkSkyDailyData} is the Java class used to map the JSON response to an Dark Sky request.
+ * The {@link DarkSkyDailyData} is the Java class used to map the JSON response to a Dark Sky request.
  *
  * @author Christoph Weitkamp - Initial contribution
  */
index 252485d719cf4bb651e222d91fd03b8fa0071ccb..a6b0ae915695980c46f6ee90f7aa177a90cbdd5e 100644 (file)
@@ -17,7 +17,7 @@ import java.util.List;
 import org.eclipse.jdt.annotation.Nullable;
 
 /**
- * The {@link DarkSkyHourlyData} is the Java class used to map the JSON response to an Dark Sky request.
+ * The {@link DarkSkyHourlyData} is the Java class used to map the JSON response to a Dark Sky request.
  *
  * @author Christoph Weitkamp - Initial contribution
  */
index 1785a6d4ba8228e3cc1469810d79968b995388f4..8662a067939b39b944ea1d53c79de38c75127e98 100644 (file)
@@ -17,7 +17,7 @@ import java.util.List;
 import org.eclipse.jdt.annotation.Nullable;
 
 /**
- * The {@link DarkSkyJsonWeatherData} is the Java class used to map the JSON response to an Dark Sky request.
+ * The {@link DarkSkyJsonWeatherData} is the Java class used to map the JSON response to a Dark Sky request.
  *
  * @author Christoph Weitkamp - Initial contribution
  */
index 4eb408b8cd44e78ee89d64491a2d85c48baca66a..195ef237c724fa33c786ddb43b01ad3845838340 100644 (file)
@@ -22,7 +22,7 @@ import org.openhab.binding.deutschebahn.internal.timetable.dto.JaxbEntity;
 import org.openhab.core.types.State;
 
 /**
- * Accessor for attribute value of an DTO-Object.
+ * Accessor for attribute value of a DTO-Object.
  * 
  * @author Sönke Küper - Initial contribution.
  *
@@ -41,7 +41,7 @@ public abstract class AbstractDtoAttributeSelector<DTO_TYPE extends JaxbEntity,
     private final Function<VALUE_TYPE, List<String>> valueToList;
 
     /**
-     * Creates an new {@link EventAttribute}.
+     * Creates a new {@link EventAttribute}.
      *
      * @param getter Function to get the raw value.
      * @param setter Function to set the raw value.
index 2ce8424b6ed5c3cef0cc7166650bad985ee4194a..080c62a9ef0297640b1e54cbf3bab2c5c76d1cc7 100644 (file)
@@ -20,7 +20,7 @@ import org.openhab.binding.deutschebahn.internal.timetable.dto.TimetableStop;
 import org.openhab.core.types.State;
 
 /**
- * Selection of an attribute within an {@link TimetableStop} that provides a channel {@link State}.
+ * Selection of an attribute within a {@link TimetableStop} that provides a channel {@link State}.
  * 
  * @author Sönke Küper - Initial contribution
  */
index eb57ab3f838c03cf5e2d65a001c0d06c1f493093..ce41dd10ce70623bb6a050722bb5452dcb44cf06 100644 (file)
@@ -31,9 +31,9 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 /**
- * Handler for an Train-Thing in DeutscheBahn Binding.
+ * Handler for a Train-Thing in DeutscheBahn Binding.
  *
- * Represents an Train that arrives / departs at the station selected by the DeutscheBahnTimetable-Bridge.
+ * Represents a Train that arrives / departs at the station selected by the DeutscheBahnTimetable-Bridge.
  *
  * @author Sönke Küper - Initial contribution
  */
@@ -49,7 +49,7 @@ public class DeutscheBahnTrainHandler extends BaseThingHandler {
         private final AttributeSelection attributeSelection;
 
         /**
-         * Creates an new ChannelWithConfig.
+         * Creates a new ChannelWithConfig.
          * 
          * @param channelUid The UID of the channel
          * @param attributeSelection The attribute that provides the state that will be displayed.
@@ -88,7 +88,7 @@ public class DeutscheBahnTrainHandler extends BaseThingHandler {
     private final List<ChannelWithConfig> configuredChannels = new ArrayList<>();
 
     /**
-     * Creates an new {@link DeutscheBahnTrainHandler}.
+     * Creates a new {@link DeutscheBahnTrainHandler}.
      */
     public DeutscheBahnTrainHandler(Thing thing) {
         super(thing);
@@ -123,7 +123,7 @@ public class DeutscheBahnTrainHandler extends BaseThingHandler {
     }
 
     /**
-     * Creates an {@link ChannelWithConfig} for an channel that represents an attribute of an
+     * Creates a {@link ChannelWithConfig} for a channel that represents an attribute of an
      * {@link org.openhab.binding.deutschebahn.internal.timetable.dto.TripLabel}.
      */
     private void createTripChannelConfiguration(Channel channel) {
@@ -141,7 +141,7 @@ public class DeutscheBahnTrainHandler extends BaseThingHandler {
     }
 
     /**
-     * Creates the {@link ChannelWithConfig} for an channel that represents an attribute of an
+     * Creates the {@link ChannelWithConfig} for a channel that represents an attribute of an
      * {@link org.openhab.binding.deutschebahn.internal.timetable.dto.Event}.}
      */
     private void createEventChannelConfiguration(EventType eventType, Channel channel) {
index f4ebfae3b1d442863362c6b4ffdca3bb10dee162..e7cfb3e50e2a5f4a6e79ab65b1eb1bca9cdee848 100644 (file)
@@ -215,7 +215,7 @@ public final class EventAttribute<VALUE_TYPE, STATE_TYPE extends State>
     private static final SimpleDateFormat DATETIME_FORMAT = new SimpleDateFormat("yyMMddHHmm");
 
     /**
-     * Creates an new {@link EventAttribute}.
+     * Creates a new {@link EventAttribute}.
      *
      * @param getter Function to get the raw value.
      * @param setter Function to set the raw value.
index 1de2e95b2d1248bbc9d35e20a7628b4bce9896f4..8229f895235be546ee79f6170acee9c2f3b5787e 100644 (file)
@@ -36,7 +36,7 @@ public final class EventAttributeSelection implements AttributeSelection {
     private final EventAttribute<?, ?> eventAttribute;
 
     /**
-     * Creates an new {@link EventAttributeSelection}.
+     * Creates a new {@link EventAttributeSelection}.
      */
     public EventAttributeSelection(EventType eventType, EventAttribute<?, ?> eventAttribute) {
         this.eventType = eventType;
index 1308a1569bbef04312d675fa3faf701e102f053c..d94b8c112eafac50ad4d262242406a428d48ffb8 100644 (file)
@@ -20,7 +20,7 @@ import org.openhab.binding.deutschebahn.internal.timetable.dto.Event;
 import org.openhab.binding.deutschebahn.internal.timetable.dto.TimetableStop;
 
 /**
- * Type of an {@link Event} within an {@link TimetableStop}.
+ * Type of an {@link Event} within a {@link TimetableStop}.
  * 
  * @author Sönke Küper - initial contribution
  */
index 2d48619b209bf5f708150a95f84196a2799f7b7c..9a4e29db907bde09cdbce1fa18692815a47fa4b7 100644 (file)
@@ -27,7 +27,7 @@ import org.openhab.core.types.State;
 import org.openhab.core.types.UnDefType;
 
 /**
- * Selection that returns the value of an {@link TripLabel}.
+ * Selection that returns the value of a {@link TripLabel}.
  * 
  * chapter "1.2.7 TripLabel" in Technical Interface Description for external Developers
  *
@@ -73,7 +73,7 @@ public final class TripLabelAttribute<VALUE_TYPE, STATE_TYPE extends State> exte
             TripLabel::setO, StringType::new, TripLabelAttribute::singletonList, StringType.class);
 
     /**
-     * Creates an new {@link TripLabelAttribute}.
+     * Creates a new {@link TripLabelAttribute}.
      *
      * @param getter Function to get the raw value.
      * @param setter Function to set the raw value.
@@ -133,7 +133,7 @@ public final class TripLabelAttribute<VALUE_TYPE, STATE_TYPE extends State> exte
     }
 
     /**
-     * Returns an {@link TripLabelAttribute} for the given channel-name.
+     * Returns a {@link TripLabelAttribute} for the given channel-name.
      */
     @Nullable
     public static TripLabelAttribute<?, ?> getByChannelName(final String channelName) {
index 5caddf3dcc7342104cb2c0bca603865484b637c8..3ba1e54629ea775aab9a3484cea178d2d70398a8 100644 (file)
@@ -27,7 +27,7 @@ public final class AndPredicate implements TimetableStopPredicate {
     private final TimetableStopPredicate second;
 
     /**
-     * Creates an new {@link AndPredicate}.
+     * Creates a new {@link AndPredicate}.
      */
     public AndPredicate(TimetableStopPredicate first, TimetableStopPredicate second) {
         this.first = first;
index b856989faef64592a500d4830a9a8241500cb424..d578a070ddccb083c9ae5b0660f31eda60c03b72 100644 (file)
@@ -34,7 +34,7 @@ public final class ChannelNameEquals extends FilterToken {
     private final String channelGroup;
 
     /**
-     * Creates an new {@link ChannelNameEquals}.
+     * Creates a new {@link ChannelNameEquals}.
      */
     public ChannelNameEquals(int position, String channelGroup, String channelName, Pattern filterPattern) {
         super(position);
@@ -75,7 +75,7 @@ public final class ChannelNameEquals extends FilterToken {
     }
 
     /**
-     * Maps this into an {@link TimetableStopByStringEventAttributeFilter}.
+     * Maps this into a {@link TimetableStopByStringEventAttributeFilter}.
      */
     public TimetableStopByStringEventAttributeFilter mapToPredicate() throws FilterParserException {
         return new TimetableStopByStringEventAttributeFilter(mapAttributeSelection(), filterValue);
index e64cc5915ac9161a28da11ba32a436871da30d54..fc1ee7bcaf6d1c8d493fb8ae687d01f0a608808d 100644 (file)
@@ -18,7 +18,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.eclipse.jdt.annotation.Nullable;
 
 /**
- * Parses an {@link FilterToken}-Sequence into a {@link TimetableStopPredicate}.
+ * Parses a {@link FilterToken}-Sequence into a {@link TimetableStopPredicate}.
  * 
  * @author Sönke Küper - Initial contribution.
  */
@@ -287,7 +287,7 @@ public final class FilterParser {
     }
 
     /**
-     * Parses the given {@link FilterToken} into an {@link TimetableStopPredicate}.
+     * Parses the given {@link FilterToken} into a {@link TimetableStopPredicate}.
      */
     public static TimetableStopPredicate parse(final List<FilterToken> tokens) throws FilterParserException {
         State state = new InitialState();
index f764f8b425a96c41ca82c77ed87040221ff9d9fd..37a573e077ea8d8fdc469879d9f80856220dfaa9 100644 (file)
@@ -25,7 +25,7 @@ public final class FilterParserException extends Exception {
     private static final long serialVersionUID = 3104578924298682889L;
 
     /**
-     * Creates an new {@link FilterParserException}.
+     * Creates a new {@link FilterParserException}.
      */
     public FilterParserException(String message) {
         super(message);
index e0074416abb9df3d86e803f5be8a74a50301b142..848b24b2067f854b3b0481d020e8db238ff71255 100644 (file)
@@ -149,7 +149,7 @@ public final class FilterScanner {
         private final String channelGroup;
 
         /**
-         * Creates an new {@link ExpectQuotesState}.
+         * Creates a new {@link ExpectQuotesState}.
          */
         public ExpectQuotesState(int startPosition, final String channelGroup, String channelName) {
             this.startPosition = startPosition;
@@ -182,7 +182,7 @@ public final class FilterScanner {
         private final StringBuilder filterValue;
 
         /**
-         * Creates an new {@link FilterValueState}.
+         * Creates a new {@link FilterValueState}.
          */
         public FilterValueState(int startPosition, String channelGroup, String channelName) {
             this.startPosition = startPosition;
@@ -216,7 +216,7 @@ public final class FilterScanner {
     private List<FilterToken> result;
 
     /**
-     * Creates an new {@link FilterScanner}.
+     * Creates a new {@link FilterScanner}.
      */
     public FilterScanner() {
         this.result = new ArrayList<>();
index b544a52f840a5aef8edb0aaecdf415d902862407..13af0fc52c57d61f92cf1a1993212ceafc089455 100644 (file)
@@ -25,7 +25,7 @@ public abstract class FilterToken {
     private final int position;
 
     /**
-     * Creates an new {@link FilterToken}.
+     * Creates a new {@link FilterToken}.
      */
     public FilterToken(int position) {
         this.position = position;
index c13452a36cb449199d7b267a1564a2e7ced55ead..532432d69b24afcc915aacfaf6ced7ffbad19f70 100644 (file)
@@ -23,7 +23,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 public abstract class OperatorToken extends FilterToken {
 
     /**
-     * Creates an new {@link OperatorToken}.
+     * Creates a new {@link OperatorToken}.
      */
     public OperatorToken(int position) {
         super(position);
index 99033960fcd4af39835ee12aa2fc5a73dbd60248..d6fa608b3be2a8b8cdedcca8c846275e8b72ab1a 100644 (file)
@@ -27,7 +27,7 @@ final class OrPredicate implements TimetableStopPredicate {
     private final TimetableStopPredicate second;
 
     /**
-     * Creates an new {@link OrPredicate}.
+     * Creates a new {@link OrPredicate}.
      */
     public OrPredicate(TimetableStopPredicate first, TimetableStopPredicate second) {
         this.first = first;
index 113850f9ecd62b4cf82c16eee2a58b94ca7bd091..e73b3ae047b32ff2ba9c88eabe0c301ff7384b15 100644 (file)
@@ -20,7 +20,7 @@ import org.openhab.binding.deutschebahn.internal.AttributeSelection;
 import org.openhab.binding.deutschebahn.internal.timetable.dto.TimetableStop;
 
 /**
- * Abstract predicate that filters timetable stops by an selected attribute of an {@link TimetableStop}.
+ * Abstract predicate that filters timetable stops by a selected attribute of a {@link TimetableStop}.
  * 
  * If value has multiple values (for example stations on the planned-path) the predicate will return <code>true</code>,
  * if at least one value matches the given filter.
@@ -34,7 +34,7 @@ public final class TimetableStopByStringEventAttributeFilter implements Timetabl
     private final Pattern filter;
 
     /**
-     * Creates an new {@link TimetableStopByStringEventAttributeFilter}.
+     * Creates a new {@link TimetableStopByStringEventAttributeFilter}.
      */
     TimetableStopByStringEventAttributeFilter(final AttributeSelection attributeSelection, final Pattern filter) {
         this.attributeSelection = attributeSelection;
index 866d78297c476efb466804ac969ab0129308a044..892cb0d76de9019564159dae79390d946ea6598c 100644 (file)
@@ -38,7 +38,7 @@ import org.openhab.binding.deutschebahn.internal.timetable.dto.TimetableStop;
 import org.openhab.core.library.types.DateTimeType;
 
 /**
- * Helper for loading the required amount of {@link TimetableStop} via an {@link TimetablesV1Api}.
+ * Helper for loading the required amount of {@link TimetableStop} via a {@link TimetablesV1Api}.
  * This consists of a series of calls.
  *
  * @author Sönke Küper - initial contribution
@@ -73,7 +73,7 @@ public final class TimetableLoader {
     private Date lastRequestedChanges;
 
     /**
-     * Creates an new {@link TimetableLoader}.
+     * Creates a new {@link TimetableLoader}.
      *
      * @param api {@link TimetablesV1Api} to use.
      * @param stopPredicate Filter for selection of loaded {@link TimetableStop}.
index 4d76c9c95c608e38fe28374c278f33b98caad22d..a3691123eaf1caa5bfedd13f0088cf7c993ebaef 100644 (file)
@@ -32,7 +32,7 @@ public class TimetableStopComparator implements Comparator<TimetableStop> {
     private final EventType eventSelection;
 
     /**
-     * Creates an new {@link TimetableStopComparator} that sorts {@link TimetableStop} according the Event selected
+     * Creates a new {@link TimetableStopComparator} that sorts {@link TimetableStop} according the Event selected
      * selected by the given {@link EventType}.
      */
     public TimetableStopComparator(EventType eventSelection) {
index d8d565247c0a8f0fcd1b4001d469e93b3b9f0aa3..89d0e45c9bbb7baea6e4fb6bef4d9b9d332c52b8 100644 (file)
@@ -26,7 +26,7 @@ import org.openhab.binding.deutschebahn.internal.timetable.TimetablesV1Impl.Http
 public interface TimetablesV1ApiFactory {
 
     /**
-     * Creates an new instance of the {@link TimetablesV1Api}.
+     * Creates a new instance of the {@link TimetablesV1Api}.
      */
     public abstract TimetablesV1Api create(final String clientId, final String clientSecret,
             final HttpCallable httpCallable) throws JAXBException;
index 8e0870ec4280236ee1a748d9ddd3a1431b7f08b1..0f03138104440829e195b3ef2b56e8d3f5f798ec 100644 (file)
@@ -36,14 +36,14 @@ public final class TimetablesV1ApiStub implements TimetablesV1Api {
     }
 
     /**
-     * Creates an new {@link TimetablesV1ApiStub}, that returns the given result.
+     * Creates a new {@link TimetablesV1ApiStub}, that returns the given result.
      */
     public static TimetablesV1ApiStub createWithResult(Timetable timetable) {
         return new TimetablesV1ApiStub(timetable);
     }
 
     /**
-     * Creates an new {@link TimetablesV1ApiStub} that throws an Exception.
+     * Creates a new {@link TimetablesV1ApiStub} that throws an Exception.
      */
     public static TimetablesV1ApiStub createWithException() {
         return new TimetablesV1ApiStub(null);
index bb31ebaf8e4e7e694e2a0a538e8e7775ad8c9c42..42f1093ab0a6483ecce882880669cc54aef16209 100644 (file)
@@ -20,7 +20,7 @@ import java.net.URL;
 import org.eclipse.jdt.annotation.NonNullByDefault;
 
 /**
- * Helper interface for jUnit Tests to provide an {@link TimetablesApiTestModule}.
+ * Helper interface for jUnit Tests to provide a {@link TimetablesApiTestModule}.
  * 
  * @author Sönke Küper - initial contribution.
  */
@@ -33,7 +33,7 @@ public interface TimetablesV1ImplTestHelper {
     public static final String CLIENT_SECRET = "354c8161cd7fb0936c840240280c131e";
 
     /**
-     * Creates an {@link TimetablesApiTestModule} that uses http response data from file system.
+     * Creates a {@link TimetablesApiTestModule} that uses http response data from file system.
      * Uses default-testdata from directory /timetablesData
      */
     public default TimetablesApiTestModule createApiWithTestdata() throws Exception {
@@ -41,7 +41,7 @@ public interface TimetablesV1ImplTestHelper {
     }
 
     /**
-     * Creates an {@link TimetablesApiTestModule} that uses http response data from file system.
+     * Creates a {@link TimetablesApiTestModule} that uses http response data from file system.
      * 
      * @param dataDirectory Directory within test-resources containing the stub-data.
      */
index 67fedfdda4f25fb41badf92474b9fce5386d6768..efcce36f413f7bb3248e1482e37c0b8fec73e9c8 100644 (file)
@@ -34,7 +34,7 @@ import org.openhab.binding.digitalstrom.internal.lib.event.types.EventItem;
 public interface EventHandler {
 
     /**
-     * Handles a {@link EventItem} e.g. which was detected by the {@link EventListener}.
+     * Handles an {@link EventItem} e.g. which was detected by the {@link EventListener}.
      *
      * @param eventItem to handle
      */
@@ -63,14 +63,14 @@ public interface EventHandler {
     String getUID();
 
     /**
-     * Sets a {@link EventListener} to this {@link EventHandler}.
+     * Sets an {@link EventListener} to this {@link EventHandler}.
      *
      * @param eventListener to set
      */
     void setEventListener(EventListener eventListener);
 
     /**
-     * Unsets a {@link EventListener} to this {@link EventHandler}.
+     * Unsets an {@link EventListener} to this {@link EventHandler}.
      *
      * @param eventListener to unset
      */
index d7301b512cdb9d5e441f26fafcbf05174fe8aa05..f3575b89e57fe6291a1e0a618ebf98b8f36ca904 100644 (file)
@@ -39,7 +39,7 @@ import com.google.gson.JsonObject;
  * added {@link EventHandler} about the detected events, if it supports the event-type.<br>
  * You can add {@link EventHandler}'s through the constructors or the methods {@link #addEventHandler(EventHandler)} and
  * {@link #addEventHandlers(List)}.<br>
- * You can also delete a {@link EventHandler} though the method {@link #removeEventHandler(EventHandler)}.<br>
+ * You can also delete an {@link EventHandler} though the method {@link #removeEventHandler(EventHandler)}.<br>
  * If the {@link EventListener} is started, both methods subscribe respectively unsubscribe the event-types of the
  * {@link EventHandler}/s automatically.<br>
  * If you want to dynamically subscribe event-types, e.g. because a configuration has changed and a
@@ -106,7 +106,7 @@ public class EventListener {
     }
 
     /**
-     * Creates a new {@link EventListener} without a {@link EventHandler}<br>
+     * Creates a new {@link EventListener} without an {@link EventHandler}<br>
      * <br>
      * To get notified by events you have to call {@link #start()} and {@link #addEventHandler(EventHandler)} or
      * {@link #addEventHandlers(List)}.
@@ -188,7 +188,7 @@ public class EventListener {
     }
 
     /**
-     * Adds a {@link EventHandler}'s and subscribe the supported event-types, if the
+     * Adds an {@link EventHandler}'s and subscribe the supported event-types, if the
      * {@link EventListener} is started and the event-types are not already subscribed.<br>
      * <br>
      * <b>Note:</b><br>
@@ -217,7 +217,7 @@ public class EventListener {
     }
 
     /**
-     * Remove a {@link EventHandler} and unsubscribes the supported event-types, if the
+     * Remove an {@link EventHandler} and unsubscribes the supported event-types, if the
      * {@link EventListener} is started and no other {@link EventHandler} needed the event-types.
      *
      * @param eventHandler to remove
index 1d753c366fe11eb16359602c437ceaeb57607651..fce06ee05f1d464f979f2df8322d744e2d39bc86 100644 (file)
@@ -34,7 +34,7 @@ public interface EventItem {
 
     /**
      * Returns {@link HashMap} with the properties fiels of this {@link EventItem}.
-     * The key is a {@link EventResponseEnum} and represents the property name
+     * The key is an {@link EventResponseEnum} and represents the property name
      * and the value is the property value.
      *
      * @return the properties of this {@link EventItem}
@@ -43,7 +43,7 @@ public interface EventItem {
 
     /**
      * Returns {@link HashMap} with the source fields of this {@link EventItem}.
-     * The key is a {@link EventResponseEnum} and represents the property name
+     * The key is an {@link EventResponseEnum} and represents the property name
      * and the value is the property value.
      *
      * @return the properties of this {@link EventItem}
index b6dcce675899e8536ec0bbd7a63db6666f7ce54c..97049699eee3ac4715dc2084caa63af74b7aaca9 100644 (file)
@@ -15,7 +15,7 @@ package org.openhab.binding.digitalstrom.internal.lib.listener;
 import org.openhab.binding.digitalstrom.internal.lib.structure.scene.InternalScene;
 
 /**
- * The {@link SceneStatusListener} is notified, if a {@link InternalScene} status has changed or a
+ * The {@link SceneStatusListener} is notified, if an {@link InternalScene} status has changed or a
  * {@link InternalScene} has been removed or added.
  *
  * <p>
@@ -43,14 +43,14 @@ public interface SceneStatusListener {
     void onSceneStateChanged(boolean newState);
 
     /**
-     * This method is called whenever a {@link InternalScene} is removed.
+     * This method is called whenever an {@link InternalScene} is removed.
      *
      * @param scene that was removed
      */
     void onSceneRemoved(InternalScene scene);
 
     /**
-     * This method is called whenever a {@link InternalScene} is added.
+     * This method is called whenever an {@link InternalScene} is added.
      *
      * @param scene that was added
      */
index 9d1c72edfae6ca842fddfcfce345616ddadbd42b..0417903f16845cd05608e4c4f64d0485a516a04f 100644 (file)
@@ -36,7 +36,7 @@ import org.openhab.binding.digitalstrom.internal.lib.structure.scene.InternalSce
  * , {@link #callDeviceScene(String, Short)} etc. can be used.
  *
  * <p>
- * If you call the {@link #start()} method a {@link EventListener} will be started to handle scene calls and undos from
+ * If you call the {@link #start()} method an {@link EventListener} will be started to handle scene calls and undos from
  * the outside.
  *
  * @author Michael Ochel - Initial contribution
@@ -54,7 +54,7 @@ public interface SceneManager extends EventHandler {
     void callInternalScene(InternalScene scene);
 
     /**
-     * Activates a {@link InternalScene} with the given id, if it exists. Otherwise a new
+     * Activates an {@link InternalScene} with the given id, if it exists. Otherwise a new
      * {@link InternalScene} will be created and activated, if it is a callable scene.
      *
      * @param sceneID of the scene to call
@@ -86,7 +86,7 @@ public interface SceneManager extends EventHandler {
     void undoInternalScene(InternalScene scene);
 
     /**
-     * Deactivates a {@link InternalScene} with the given sceneID, if it exists. Otherwise a new
+     * Deactivates an {@link InternalScene} with the given sceneID, if it exists. Otherwise a new
      * {@link InternalScene} will be created and deactivated, if it is a callable scene.
      *
      * @param sceneID of the scene to undo
index d7e85a1796535c2e79ff00dab8de43b09cd3c1f0..50faea63c6b4026a390c685320ff4d0ca888fa1f 100644 (file)
@@ -97,7 +97,7 @@ public class SceneManagerImpl implements SceneManager {
 
     /**
      * Same constructor like {@link #SceneManagerImpl(ConnectionManager, StructureManager, ManagerStatusListener)}, but
-     * a {@link EventListener} can be set, too.
+     * an {@link EventListener} can be set, too.
      *
      * @param connectionManager (must not be null)
      * @param structureManager (must not be null)
index d7ecd12f5fec70c743be3fb2c85e99f89fee12ad..5181742b986ef9443c9b1f707020312e0c80823e 100644 (file)
@@ -199,8 +199,8 @@ public class StructureManagerImpl implements StructureManager {
     }
 
     /**
-     * This method build the digitalSTROM structure as an {@link HashMap} with the zone id as key
-     * and an {@link HashMap} as value. This {@link HashMap} has the group id as key and a {@link List}
+     * This method build the digitalSTROM structure as a {@link HashMap} with the zone id as key
+     * and a {@link HashMap} as value. This {@link HashMap} has the group id as key and a {@link List}
      * with all digitalSTROM {@link Device}s.<br>
      * <br>
      * <b>Note:</b> the zone id 0 is the broadcast address and the group id 0, too.
index 927e383d306ba405db07806cc832e75c7df25ed2..4aeb352728efb53b933fc32d52e8fe46764e8d49 100644 (file)
@@ -37,7 +37,8 @@ import org.slf4j.LoggerFactory;
 
 /**
  * The {@link TemperatureControlManager} is responsible for handling the zone temperature control of the digitalSTROM
- * zones. For that it implements a {@link EventHandler} to get informed by control changes, like the target temperature.
+ * zones. For that it implements an {@link EventHandler} to get informed by control changes, like the target
+ * temperature.
  * It also implement the {@link TemperatureControlSensorTransmitter}, so the zone temperature can be set through this
  * class. <br>
  * <br>
index 51929c1269dd956948bb681038947f4c8f30f7b8..b28ba7106c3e2e8e1fbfa20cdf8a12e00e0cc314 100644 (file)
@@ -743,7 +743,7 @@ public interface DsAPI {
      * operation mode, see
      * {@link OperationModes}.<br>
      * To set the values a {@link List} with an object array has to be set as controlVlaues parameter. The 1th field has
-     * to be a {@link String} for the {@link OperationModes} name and the 2nd field has to be a {@link Integer} for the
+     * to be a {@link String} for the {@link OperationModes} name and the 2nd field has to be an {@link Integer} for the
      * new value. If the control mode is {@link ControlModes#PID_CONTROL} it is the nominal temperature, otherwise it is
      * the control valve value.
      *
index 136c5c26d3de47ac821c453eec29edced1854f24..b78e32649b5c318b163b98a8eebfca31c6546fca 100644 (file)
@@ -21,7 +21,7 @@ import com.google.gson.JsonParseException;
 import com.google.gson.JsonParser;
 
 /**
- * The {@link JSONResponseHandler} checks an digitalSTROM-JSON response and can parse it to an {@link JsonObject}.
+ * The {@link JSONResponseHandler} checks an digitalSTROM-JSON response and can parse it to a {@link JsonObject}.
  *
  * @author Alexander Betker - Initial contribution
  * @author Alex Maier - Initial contribution
index f37d4ff88a3754eab2bedbb85a708ea61d59edcf..d6d7782a3bc9bb5dff1440622931901976a859cb 100644 (file)
@@ -773,7 +773,7 @@ public interface Device extends GeneralDeviceInformation {
     boolean isSensorEchoBoxEnabled();
 
     /**
-     * Sets the {@link DeviceSensorValue} through a {@link EventItem} of the type
+     * Sets the {@link DeviceSensorValue} through an {@link EventItem} of the type
      * {@link EventNames#DEVICE_SENSOR_VALUE}.
      *
      * @param event of the sensor update
index f3100c557e9404d8aafdf4e564b052dfb26a2b2b..1e331473182af315f332e9e883443266bd77d0e5 100644 (file)
@@ -1679,7 +1679,7 @@ public class DeviceImpl extends AbstractGeneralDeviceInformations implements Dev
     }
 
     /**
-     * if an {@link DeviceStatusListener} is registered inform him about the new
+     * if a {@link DeviceStatusListener} is registered inform him about the new
      * state otherwise do nothing.
      *
      * @param deviceStateUpdate
index 1e816ef246b585c76757c1328842dc824597d3d0..11d1ceb9c905ed9a8e254d171f29ce00ec15e0c0 100644 (file)
@@ -44,7 +44,7 @@ class CosemDecimal extends CosemValueDescriptor<DecimalType> {
     }
 
     /**
-     * Parses a String value (that represents an decimal) to an {@link DecimalType} object.
+     * Parses a String value (that represents an decimal) to a {@link DecimalType} object.
      *
      * @param cosemValue the value to parse
      * @return {@link DecimalType} representing the value of the cosem value
index cfd55b97d3c71c47339f0cca42e8232b468dcdb3..90ee01c03657e7347b64d4071ed55b754c427a7c 100644 (file)
@@ -105,7 +105,7 @@ public class CosemObject {
     /**
      * Parses the List of COSEM String value to COSEM objects values.
      * <p>
-     * When the parser has problems it throws an {@link ParseException}. The
+     * When the parser has problems it throws a {@link ParseException}. The
      * already parsed values will still be available. It is up to the caller how
      * to handle a partially parsed message.
      *
index 64e01c98f29365aca6d1b4e704103d5690dab73a..34cb5d35c38fa6e4639a947f1486d43b29835133 100644 (file)
@@ -15,7 +15,7 @@ package org.openhab.binding.elerotransmitterstick.internal.config;
 import org.openhab.binding.elerotransmitterstick.internal.handler.EleroChannelHandler;
 
 /**
- * The {@link EleroChannelConfig} holds configuration data of a {@link EleroChannelHandler}
+ * The {@link EleroChannelConfig} holds configuration data of an {@link EleroChannelHandler}
  *
  * @author Volker Bier - Initial contribution
  */
index 9cfd3a2679941c0328e79b04f995fe30d4fee412..98721110f3162f79a8996df05e04602bb84255da 100644 (file)
@@ -91,7 +91,7 @@ DateTime APCLastExecution {channel="exec:command:apc:lastexecution"}
 
 ## Full Example
 
-Following is an example how to set up an exec command thing, pass it a parameter, debug it with a rule and set the returned string to an Number Item. 
+Following is an example how to set up an exec command thing, pass it a parameter, debug it with a rule and set the returned string to a Number Item.
 
 **demo.things**
 
index e83f68564e5b3e07caf7e03753649e205e92e594..927aeea65879282172d223717c7740bdc6120259 100644 (file)
@@ -51,7 +51,7 @@ public class HomeConnectDiscoveryService extends AbstractDiscoveryService
     private @Nullable HomeConnectBridgeHandler bridgeHandler;
 
     /**
-     * Construct an {@link HomeConnectDiscoveryService}.
+     * Construct a {@link HomeConnectDiscoveryService}.
      *
      */
     public HomeConnectDiscoveryService() {
index f408c5d7342ddc6641001122dcc9ca849cf996ce..d40fd658aa32aacce7ec4deaf30ce6b7553b6800 100644 (file)
@@ -13,7 +13,7 @@
 package org.openhab.binding.innogysmarthome.internal.client.entity.action;
 
 /**
- * Defines the structure of a {@link IntegerActionParam}.
+ * Defines the structure of an {@link IntegerActionParam}.
  *
  * @author Oliver Kuhl - Initial contribution
  */
index ffc14bda65afeff8cabca0ac54187ddb7ab34556..e68dfa228d7b738f465de7d28f2137c0031cf68c 100644 (file)
@@ -362,7 +362,7 @@ public class KM200ThingHandler extends BaseThingHandler {
             logger.trace("Create things: {} id: {} channel: {}", thing.getUID(), subKey, thing.getUID().getId());
             switch (subKeyType) {
                 case DATA_TYPE_STRING_VALUE:
-                    /* Creating an new channel type with capabilities from service */
+                    /* Creating a new channel type with capabilities from service */
                     List<StateOption> options = null;
                     if (serObj.serviceTreeMap.get(subKey).getValueParameter() != null) {
                         options = new ArrayList<>();
@@ -409,7 +409,7 @@ public class KM200ThingHandler extends BaseThingHandler {
                     }
                     /* Check the capabilities of this service */
                     if (serObj.serviceTreeMap.get(subKey).getValueParameter() != null) {
-                        /* Creating an new channel type with capabilities from service */
+                        /* Creating a new channel type with capabilities from service */
                         // The type is definitely correct here
                         @SuppressWarnings("unchecked")
                         List<Object> subValParas = (List<Object>) serObj.serviceTreeMap.get(subKey).getValueParameter();
index 5df2b9133a69f3b7d430e51f099a4d9205308860..7dbbe80a66ff4cc2d31a7c4c6279827ebec6068d 100644 (file)
@@ -45,7 +45,7 @@ import org.slf4j.LoggerFactory;
 
 /**
  * This class represents a configured connection to one LCN-PCHK.
- * It uses a {@link AsynchronousSocketChannel} to connect to LCN-PCHK.
+ * It uses an {@link AsynchronousSocketChannel} to connect to LCN-PCHK.
  * Included logic:
  * <ul>
  * <li>Reconnection on connection loss
index c964a8218ced532fa82e8fa8f74e8fdc718125b2..eab7ee8ac679790c9411e2cb9643021d97187819 100644 (file)
@@ -118,7 +118,7 @@ public class PacketFactory {
     /**
      * Registers a new generic packet handler for the given packet class. The
      * packet class must meet the criteria for {@link GenericHandler};
-     * specifically, it must have an no-argument constructor and require no
+     * specifically, it must have a no-argument constructor and require no
      * parsing logic outside of an invocation of
      * {@link Packet#parse(java.nio.ByteBuffer)}.
      *
index f1bc62ecf5abc73d42b8be1e41d2cc0641353e7c..8dfc5a10d67445082a981bc95008318908176b8b 100644 (file)
@@ -13,7 +13,7 @@
 package org.openhab.binding.livisismarthome.internal.client.api.entity.action;
 
 /**
- * Defines the structure of a {@link IntegerActionParamDTO}.
+ * Defines the structure of an {@link IntegerActionParamDTO}.
  *
  * @author Oliver Kuhl - Initial contribution
  */
index 271c0272b63b48d16616bc99d92751b208b8c367..2dc3189a7a1a01f1a7c43d86ace7854b82f5845a 100644 (file)
@@ -53,7 +53,7 @@ public class LivisiDeviceDiscoveryService extends AbstractDiscoveryService
     private @Nullable LivisiBridgeHandler bridgeHandler;
 
     /**
-     * Construct an {@link LivisiDeviceDiscoveryService}.
+     * Construct a {@link LivisiDeviceDiscoveryService}.
      */
     public LivisiDeviceDiscoveryService() {
         super(SEARCH_TIME_SECONDS);
index b4e9d2b4cb87c65bb5cbb0150bb41956f14ada12..22f0d80f566c8ec3d6575e69ba7ebd9916de6162 100644 (file)
@@ -61,7 +61,7 @@ import org.apache.commons.io.FileUtils;
  * </ul>
  * </li>
  * <li>Using an {@link java.util.concurrent.Executor}</li>
- * <li>Using an {@link Thread}</li>
+ * <li>Using a {@link Thread}</li>
  * </ul>
  *
  * <p>
index 9092f648912e2456bfd8708fb19a1cd9f98e1b80..4c482ef5ee2af12779780564ce48dbc320a66160 100644 (file)
@@ -15,7 +15,7 @@ package org.openhab.binding.lutron.internal.config;
 import org.eclipse.jdt.annotation.NonNullByDefault;
 
 /**
- * Configuration settings for a {@link org.openhab.binding.lutron.internal.handler.OGroupHandler}.
+ * Configuration settings for an {@link org.openhab.binding.lutron.internal.handler.OGroupHandler}.
  *
  * @author Bob Adair - Initial contribution
  */
index 6da77525ee442fa4345733bcfe9b6a9d8542eb35..181a53243b44e74116d999310ff49d4c7d02d899 100644 (file)
@@ -55,7 +55,7 @@ public abstract class XiaomiSocket {
     private final Thread socketReceiveThread = new Thread(this::receiveData);
 
     /**
-     * Sets up an {@link XiaomiSocket} with the MiHome multicast address and a random port
+     * Sets up a {@link XiaomiSocket} with the MiHome multicast address and a random port
      *
      * @param owner identifies the socket owner
      */
@@ -64,7 +64,7 @@ public abstract class XiaomiSocket {
     }
 
     /**
-     * Sets up an {@link XiaomiSocket} with the MiHome multicast address and a specific port
+     * Sets up a {@link XiaomiSocket} with the MiHome multicast address and a specific port
      *
      * @param port the socket will be bound to this port
      * @param owner identifies the socket owner
index 4b342d7b5e95841a606114a7a7b6b86b2c7ced8c..1a7e95ea84840b28f1a361f49c5767f4607d9a96 100644 (file)
@@ -36,7 +36,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 /**
- * This object consists of an {@link Value}, which is updated on the respective MQTT topic change.
+ * This object consists of a {@link Value}, which is updated on the respective MQTT topic change.
  * Updates to the value are propagated via the {@link ChannelStateUpdateListener}.
  *
  * @author David Graeff - Initial contribution
index 41aee74fe8cba68b95e7c1acfb4950fb1943e368..ecf7e9e2c9f48f92bddbffbbcf3c1ba561d43552 100644 (file)
@@ -67,7 +67,7 @@ public abstract class AbstractChannelConfiguration {
     protected @Nullable Device device;
 
     /**
-     * Parse the base properties of the configJSON into a {@link AbstractChannelConfiguration}
+     * Parse the base properties of the configJSON into an {@link AbstractChannelConfiguration}
      *
      * @param configJSON channels configuration in JSON
      * @param gson parser
index c5ced2e9384fee0bd0922993133cb4ffd7aa4240..e4decca6d97a408f1e9dbaa07308ed9d43430a74 100644 (file)
@@ -62,7 +62,7 @@ public class Layout {
     }
 
     /**
-     * Returns an text representation for a canvas layout.
+     * Returns a text representation for a canvas layout.
      *
      * Note only canvas supported currently due to its easy geometry
      *
index db04ab6ca508c1d96aa8da06080577faeb2ccbbc..1bcda25179c3a497df7707897376ffb7ea464569 100644 (file)
@@ -56,7 +56,7 @@ public class NeeoUtil {
     }
 
     /**
-     * Utility function to close a {@link AutoCloseable} and log any exception thrown.
+     * Utility function to close an {@link AutoCloseable} and log any exception thrown.
      *
      * @param closeable a possibly null {@link AutoCloseable}. If null, no action is done.
      */
index fbe69edcbe41a444f3d07739a4506b350baf0ce4..776cd4846f6399ca4e1b90997f3d99840b2ef56d 100644 (file)
@@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.eclipse.jdt.annotation.Nullable;
 
 /**
- * The model representing an Neeo Brain(serialize/deserialize json use only)
+ * The model representing a Neeo Brain(serialize/deserialize json use only)
  *
  * @author Tim Roberts - Initial contribution
  */
index 087369c4f5aaeb3b8539b107d95aba039299db07..874482551713fce22c754b3181c18622819764df 100644 (file)
@@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.eclipse.jdt.annotation.Nullable;
 
 /**
- * The model representing an NEEO Device (serialize/deserialize json use only)
+ * The model representing a NEEO Device (serialize/deserialize json use only)
  *
  * @author Tim Roberts - Initial contribution
  */
index 10618b0383ba07068aadc5d67cc0ba0598d699da..afd620b3f505bdfc6784b370340d2b4eeb3c4e24 100644 (file)
@@ -18,7 +18,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.eclipse.jdt.annotation.Nullable;
 
 /**
- * The model representing an Neeo Device Details (serialize/deserialize json use only)
+ * The model representing a Neeo Device Details (serialize/deserialize json use only)
  *
  * @author Tim Roberts - Initial contribution
  */
index 5965e0b622e8f5a061a8b14f7961f96d93af28aa..19e4d6480cf0e3455d79e554143eb87939f7c8d5 100644 (file)
@@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.eclipse.jdt.annotation.Nullable;
 
 /**
- * The model representing an Neeo Device Details Timings (serialize/deserialize json use only)
+ * The model representing a Neeo Device Details Timings (serialize/deserialize json use only)
  *
  * @author Tim Roberts - Initial contribution
  */
index 95934aca0757a3ea58f704572b79df5ac83dceec..020c6490f3933c21539a4bb2889994e8a0a3203c 100644 (file)
@@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.eclipse.jdt.annotation.Nullable;
 
 /**
- * The model representing an Neeo Macro (serialize/deserialize json use only)
+ * The model representing a Neeo Macro (serialize/deserialize json use only)
  *
  * @author Tim Roberts - Initial contribution
  */
index 793447756d63112a74176ed7f6d81d82a38cf010..6a017a191274d7f9875ade530f1bb4bc392102b0 100644 (file)
@@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.eclipse.jdt.annotation.Nullable;
 
 /**
- * The model representing an Neeo Recipe (serialize/deserialize json use only).
+ * The model representing a Neeo Recipe (serialize/deserialize json use only).
  *
  * @author Tim Roberts - Initial contribution
  */
index ab960bfb6ddcf4f8ae5eead85f5609e78680bad1..e5d0332a6f10b5fbaee8c49209f4c4fd9ae7675d 100644 (file)
@@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.eclipse.jdt.annotation.Nullable;
 
 /**
- * The model representing an Neeo Room (serialize/deserialize json use only).
+ * The model representing a Neeo Room (serialize/deserialize json use only).
  *
  * @author Tim Roberts - Initial contribution
  */
index 2c30a46e4af1097324c991a1275f707c1d07715d..f087d93269d0db2228ce7baa75c23b44e2642874 100644 (file)
@@ -18,7 +18,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.eclipse.jdt.annotation.Nullable;
 
 /**
- * The model representing an Neeo Scenario (serialize/deserialize json use only).
+ * The model representing a Neeo Scenario (serialize/deserialize json use only).
  *
  * @author Tim Roberts - Initial contribution
  */
index e48fd9ba393da3d0627e95169c1bb7777a66025f..93941b60e9bf54c57f43c419a49f0f735c61177b 100644 (file)
@@ -24,7 +24,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 /**
- * Some automation actions to be used with a {@link OnkyoThingActions}
+ * Some automation actions to be used with an {@link OnkyoThingActions}
  *
  * @author David Masshardt - initial contribution
  */
index b67c44f8a16ebd45776a266c6eca50fd32dae050..7e903556c5dcc48b81fe1e649dd39adab1a2779f 100644 (file)
@@ -53,7 +53,7 @@ import org.slf4j.LoggerFactory;
 
 /**
  * Discovers Plugwise devices by periodically reading the Circle+ node/MAC table with {@link RoleCallRequestMessage}s.
- * Sleeping end devices are discovered when they announce being awake with a {@link AnnounceAwakeRequestMessage}. To
+ * Sleeping end devices are discovered when they announce being awake with an {@link AnnounceAwakeRequestMessage}. To
  * reduce network traffic {@link InformationRequestMessage}s are only sent to undiscovered devices.
  *
  * @author Wouter Born, Karel Goderis - Initial contribution
index 312a63a4a9f2c9260a7b04649f4237b77d88c110..ba15cdcad16af9a333b3ad5c31fd1a6e81638b84 100644 (file)
@@ -18,7 +18,7 @@ import org.openhab.binding.plugwise.internal.protocol.field.MACAddress;
 
 /**
  * Requests the power state of a relay device (Circle, Circle+, Stealth) to be switched on/off. The current power state
- * of a device is retrieved by sending a {@link InformationRequestMessage} and reading the
+ * of a device is retrieved by sending an {@link InformationRequestMessage} and reading the
  * {@link InformationResponseMessage#getPowerState()} value.
  *
  * @author Wouter Born, Karel Goderis - Initial contribution
index 0f69128e3d15343051f7e9a47236dd5fae528854..437db0d03e9a33cb431a048787d31ce04ada47a6 100644 (file)
@@ -261,7 +261,7 @@ public class PulseaudioClient {
     }
 
     /**
-     * retrieves a {@link AbstractAudioDeviceConfig} by its identifier
+     * retrieves an {@link AbstractAudioDeviceConfig} by its identifier
      * If several devices correspond to the deviceIdentifier, returns the first one (aphabetical order)
      *
      * @param The device identifier to match against
@@ -312,7 +312,7 @@ public class PulseaudioClient {
     }
 
     /**
-     * change the volume of a {@link AbstractAudioDeviceConfig}
+     * change the volume of an {@link AbstractAudioDeviceConfig}
      *
      * @param item the {@link AbstractAudioDeviceConfig} to handle
      * @param vol the new volume value the {@link AbstractAudioDeviceConfig} should be changed to (possible values from
@@ -459,7 +459,7 @@ public class PulseaudioClient {
     }
 
     /**
-     * change the volume of a {@link AbstractAudioDeviceConfig}
+     * change the volume of an {@link AbstractAudioDeviceConfig}
      *
      * @param item the {@link AbstractAudioDeviceConfig} to handle
      * @param vol the new volume percent value the {@link AbstractAudioDeviceConfig} should be changed to (possible
index 2f140c31509c3cb1edb0fec992ba525a837880c0..672c79e4a43b2bf5e0ff7d98d97cd278a5a293a2 100644 (file)
@@ -68,7 +68,7 @@ public abstract class AbstractBridgeHandler<E extends AbstractRioProtocol> exten
     /**
      * Get's the {@link AbstractRioProtocol} handler. May be null if none currently exists
      *
-     * @return a {@link AbstractRioProtocol} handler or null if none exists
+     * @return an {@link AbstractRioProtocol} handler or null if none exists
      */
     protected E getProtocolHandler() {
         return protocolHandler;
index 71bef595b3b229058398c3a1f6e8d33ef9d26955..1414f968897f9d2f5a78239c81b593ab6365b833 100644 (file)
@@ -61,7 +61,7 @@ public abstract class AbstractThingHandler<E extends AbstractRioProtocol> extend
     /**
      * Get's the {@link AbstractRioProtocol} handler. May be null if none currently exists
      *
-     * @return a {@link AbstractRioProtocol} handler or null if none exists
+     * @return an {@link AbstractRioProtocol} handler or null if none exists
      */
     protected E getProtocolHandler() {
         return protocolHandler;
index 5b2a8e66e390d492261b871145fed05a1663951a..318bfedd60dc07d0d22584f80cd287758ab46e3c 100644 (file)
@@ -168,7 +168,7 @@ public class ShellyManagerOverviewPage extends ShellyManagerPage {
                     logger.debug("{}: No firmware files found for device type {}", LOG_PREFIX, deviceType);
                 } else {
                     // Create selection list
-                    json = "{" + json.replace("[{", "\"versions\":[{") + "}"; // make it an named array
+                    json = "{" + json.replace("[{", "\"versions\":[{") + "}"; // make it a named array
                     FwArchList list = getFirmwareArchiveList(deviceType);
                     ArrayList<FwArchEntry> versions = list.versions;
                     if (versions != null) {
index 0f24cef5e3fd61b6484a0ec73ac68a6d420f82a1..3e4590e153c3b8d67652038317351441c05cc07d 100644 (file)
@@ -460,7 +460,7 @@ public class ShellyManagerPage {
             list.versions = new ArrayList<FwArchEntry>();
         } else {
             // Create selection list
-            json = "{" + json.replace("[{", "\"versions\":[{") + "}"; // make it an named array
+            json = "{" + json.replace("[{", "\"versions\":[{") + "}"; // make it a named array
             list = fromJson(gson, json, FwArchList.class);
         }
 
index 56bd081f9001b4f6d9e7e424616c71c735d37533..7db0fcbb8a5daae26458af1411058d64ac9e1a9d 100644 (file)
@@ -47,7 +47,7 @@ public class ObisCode {
     }
 
     /**
-     * Gets a {@link ObisCode} from a String. It must follow the pattern {@value #OBIS_PATTERN}
+     * Gets an {@link ObisCode} from a String. It must follow the pattern {@value #OBIS_PATTERN}
      *
      * @param obis The obis as String.
      * @return The new Obis code. Can not be null.
index 1c1fa38f6c89987423fe14ff2d516298ad531a81..429983e5fddfdada6353cb9448f42a2d35fd4895 100644 (file)
@@ -22,7 +22,7 @@ import org.openhab.core.library.unit.Units;
 import org.openmuc.jsml.EUnit;
 
 /**
- * Converts a {@link EUnit} to an {@link Unit}.
+ * Converts an {@link EUnit} to a {@link Unit}.
  *
  * @author Matthias Steigenberger - Initial contribution
  *
index 155fd67c68bd62b6087c072da5bb82181b09d670..a4ada9cd224f69437459d175ba341eb70ce5ad96 100644 (file)
@@ -28,7 +28,7 @@ public class DeviceNotFoundException extends IOException {
     private static final long serialVersionUID = -707507777792259512L;
 
     /**
-     * Constructs an {@code DeviceNotFoundException} with {@code null}
+     * Constructs a {@code DeviceNotFoundException} with {@code null}
      * as its error detail message.
      */
     public DeviceNotFoundException() {
@@ -36,7 +36,7 @@ public class DeviceNotFoundException extends IOException {
     }
 
     /**
-     * Constructs an {@code DeviceNotFoundException} with the specified detail message.
+     * Constructs a {@code DeviceNotFoundException} with the specified detail message.
      *
      *
      * @param message
@@ -48,7 +48,7 @@ public class DeviceNotFoundException extends IOException {
     }
 
     /**
-     * Constructs an {@code DeviceNotFoundException} with the specified detail message
+     * Constructs a {@code DeviceNotFoundException} with the specified detail message
      * and cause.
      *
      * <p>
index 47f0cc1d8872cfe4a0fe5999cdb9e212d24a3ef6..a72360c077aeef6bcfd5f231f70a924b0fe5453f 100644 (file)
@@ -17,7 +17,7 @@ import org.openhab.binding.tesla.internal.protocol.VehicleConfig;
 
 /**
  * The {@link VehicleListener} interface can be implemented by classes that want to be informed about
- * existing vehicles of a given account. They need to register on an {@link TeslaAccountHandler}.
+ * existing vehicles of a given account. They need to register on a {@link TeslaAccountHandler}.
  *
  * @author Kai Kreuzer - Initial contribution
  */
index d2ee15fe85bb03c61ce947a220c74bdf463e072f..a8c5ebe04cbf2f3ed93fd2364ca7f0218ccd661b 100644 (file)
@@ -177,7 +177,7 @@ The binding tries to post received values as the item types described in the cha
 ### Rule examples
 
 You can use the trigger channel to create a rule to calculate additional values.
-Create an new manual Item with a meaningful id, fx. WundergroundUpdateReceiverBinging_HeatIndex with a Number type.
+Create a new manual Item with a meaningful id, fx. WundergroundUpdateReceiverBinging_HeatIndex with a Number type.
 Create a rule that triggers when the trigger channel is updated and the following DSL:
 
 ```
index d756eaa6057b8ae093bae4b95d2cf0b4bd9a8dff..70fcf27ff3c96e2c31e6d8fa589d16031257d8fe 100644 (file)
@@ -27,7 +27,7 @@ import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
 import org.eclipse.jdt.annotation.NonNullByDefault;
 
 /**
- * Java class for an channel XML element
+ * Java class for a channel XML element
  * Renamed to MediaChannel in order to avoid confusion with Framework Channels
  *
  * @author Gaël L'hopital - Initial contribution
index 382cfb83855327da53e7647a33e2cdfbd71039fe..84b0cd6ffde701211e00abb205d3a4d1d78f7bb9 100644 (file)
@@ -28,7 +28,7 @@ import org.openhab.binding.yamahareceiver.internal.state.SystemControlStateListe
 import org.openhab.binding.yamahareceiver.internal.state.ZoneControlStateListener;
 
 /**
- * Factory to create a {@link AbstractConnection} connection object based on a feature test.
+ * Factory to create an {@link AbstractConnection} connection object based on a feature test.
  * Also returns implementation objects for all the protocol interfaces.
  * <p>
  * At the moment only the XML protocol is supported.
@@ -39,7 +39,7 @@ import org.openhab.binding.yamahareceiver.internal.state.ZoneControlStateListene
 public interface ProtocolFactory {
     /**
      * Asynchronous method to create and return a connection object. Depending
-     * on the feature test it might be either a {@link XMLConnection} or a JsonConnection.
+     * on the feature test it might be either an {@link XMLConnection} or a JsonConnection.
      *
      * @param host The host name
      * @param connectionStateListener
index 6c81e6fcf8af6dc2839a7508f4b5872ab456326a..3631ddb7be31fd1728ca7bec5b7dea5a962140c2 100644 (file)
@@ -200,7 +200,7 @@ public class NeeoUtil {
     }
 
     /**
-     * Utility function to close a {@link AutoCloseable} and log any exception thrown.
+     * Utility function to close an {@link AutoCloseable} and log any exception thrown.
      *
      * @param closeable a possibly null {@link AutoCloseable}. If null, no action is done.
      */
index 1b1ffc5836c96115b1aab00d12cb0fe54552e2f9..4ff55b72c8d1a578ba245fc4bae3bddd7e47180e 100644 (file)
@@ -17,7 +17,7 @@ import org.eclipse.jdt.annotation.Nullable;
 import org.openhab.io.neeo.internal.NeeoUtil;
 
 /**
- * The model representing an NEEO notification (serialize/deserialize json use only).
+ * The model representing a NEEO notification (serialize/deserialize json use only).
  *
  * @author Tim Roberts - Initial Contribution
  */
index 0caa01bebfeca7944054cfe1d89562e66fe4ba64..2db34e58b2b77c903980df73545a34fd380e8bac 100644 (file)
@@ -18,7 +18,7 @@ import org.eclipse.jdt.annotation.Nullable;
 import com.google.gson.annotations.SerializedName;
 
 /**
- * The model representing an NEEO recipe (serialize/deserialize json use only).
+ * The model representing a NEEO recipe (serialize/deserialize json use only).
  *
  * @author Tim Roberts - Initial Contribution
  */
index d6c7ee0cdb182327db38e19d64ef554cf12f3593..b227e889000b15ba79cad7fa00ba0aacfabf09cf 100644 (file)
@@ -16,7 +16,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.openhab.io.neeo.internal.NeeoUtil;
 
 /**
- * The model representing an NEEO recipe urls (serialize/deserialize json use only).
+ * The model representing a NEEO recipe urls (serialize/deserialize json use only).
  *
  * @author Tim Roberts - Initial Contribution
  */
index 0820e86a376c78890c11d1da1840b2df67c51f77..81d7bf10365426dc1ba3413979be2e665241aa0b 100644 (file)
@@ -18,7 +18,7 @@ import org.openhab.io.neeo.internal.NeeoConstants;
 import org.openhab.io.neeo.internal.NeeoUtil;
 
 /**
- * The model representing an NEEO sensor notification (serialize/deserialize json use only).
+ * The model representing a NEEO sensor notification (serialize/deserialize json use only).
  *
  * @author Tim Roberts - Initial Contribution
  */
index 7d724451e1ad52c851384e5ab26513e32307334f..8791b727776c5df2229f841a86b66a29c54d7069 100644 (file)
@@ -22,7 +22,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 /**
- * The model representing an NEEO system information (serialize/deserialize json use only). This model only represents a
+ * The model representing a NEEO system information (serialize/deserialize json use only). This model only represents a
  * small portion of the system information
  *
  * @author Tim Roberts - Initial Contribution
index 00fb48a986faeb89e6ee03c0ce57300b254dd771..55026c8e16bc298bcd24859b05343fcb8361da06 100644 (file)
@@ -27,7 +27,7 @@ public interface FilterCriteriaQueryCreator {
      * 
      * @param criteria Criteria to create query from
      * @param retentionPolicy Name of the retentionPolicy/bucket to use in query
-     * @return Created query as an String
+     * @return Created query as a String
      */
     String createQuery(FilterCriteria criteria, String retentionPolicy);
 
index c7a819443b657cc1efec898170c828e425d887e3..ae4cc83b6ee2ed3b5de4366b697463f30acac9a9 100644 (file)
@@ -86,7 +86,7 @@ public class InfluxDBStateConvertUtils {
 
     /**
      * Converts a value to a {@link State} which is suitable for the given {@link Item}. This is
-     * needed for querying a {@link InfluxDBHistoricItem}.
+     * needed for querying an {@link InfluxDBHistoricItem}.
      *
      * @param value to be converted to a {@link State}
      * @param itemName name of the {@link Item} to get the {@link State} for
index 0f02011a3baac351af7e965cd49d26154564a775..43b87793080266b6c20da674b5dd175700e87bad 100644 (file)
@@ -35,7 +35,7 @@ extracts the string `4.7`.
 #### Outgoing data
 The JINJA transformation can be used to publish simple JSON strings through, for example, the HTTP Binding's `commandTransformation` parameter.
 
-Say we have an String Item which holds the following value:
+Say we have a String Item which holds the following value:
 
 ```
 This is my string
index 747e2d2a24f7d28635c181bd7421a8fa33607a8d..94641e4b3834f89ab2177cd4347d1b3fc69eaaa5 100644 (file)
@@ -48,7 +48,7 @@ public class JSonPathTransformationService implements TransformationService {
      *
      * @param function JsonPath expression
      * @param source String which contains JSON
-     * @throws TransformationException If the JsonPath expression is invalid, a {@link InvalidPathException} is thrown,
+     * @throws TransformationException If the JsonPath expression is invalid, an {@link InvalidPathException} is thrown,
      *             which is encapsulated in a {@link TransformationException}.
      */
     @Override