typo fixes in comments and test messages [skip ci]

This commit is contained in:
2019-11-04 17:55:10 +01:00
parent 2fd8d2a87c
commit 431de69549
8 changed files with 28 additions and 28 deletions

View File

@ -367,7 +367,7 @@ public class UraClient implements Serializable {
*
* @param url The URL.
* @return Input Stream of results.
* @throws IOException Error opening conneciton or reading data.
* @throws IOException Error opening connection or reading data.
*/
private InputStream request(String url) throws IOException {
return new URL(url).openStream();

View File

@ -145,7 +145,7 @@ public final class Trip implements Model {
}
/**
* Construct Stop object from raw list of attributes parsed from JSON with explicitly specified version.
* Construct Trip object from raw list of attributes parsed from JSON with explicitly specified version.
*
* @param raw List of attributes from JSON line
* @param version API version

View File

@ -70,7 +70,7 @@ public class AsyncUraTripReader implements AutoCloseable {
}
public void open() {
// Throw exeption, if future is already present.
// Throw exception, if future is already present.
if (future != null) {
throw new IllegalStateException("Reader already opened");
}
@ -113,7 +113,7 @@ public class AsyncUraTripReader implements AutoCloseable {
/**
* Close the reader.
* This is done by signaliung cancel to the asyncronous task. If the task is not completed
* This is done by signaling cancel to the asynchronous task. If the task is not completed
* within 1 second however it is cancelled hard.
*/
@Override