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

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

View 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.
*/