typo fixes in comments and test messages [skip ci]
This commit is contained in:
@ -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();
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user