Typos a/an (#13812)

This commit is contained in:
Дилян Палаузов
2022-12-01 15:30:50 +02:00
committed by GitHub
parent 622654ff1d
commit 78534e8106
105 changed files with 144 additions and 143 deletions

View 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);

View 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) {

View 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());

View 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;

View 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>

View 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() {