Test coverage 100%
This commit is contained in:
@ -197,7 +197,7 @@ public class UraClient {
|
||||
*
|
||||
* @return the list
|
||||
*/
|
||||
public List<Stop> listStops() {
|
||||
public List<Stop> getStops() {
|
||||
List<Stop> stops = new ArrayList<>();
|
||||
try (InputStream is = requestInstant(REQUEST_STOP, null, null, null, null, null);
|
||||
BufferedReader br = new BufferedReader(new InputStreamReader(is))) {
|
||||
|
@ -69,7 +69,6 @@ public class Stop {
|
||||
longitude = (Double)raw.get(6);
|
||||
else
|
||||
throw new IOException("Field 6 not of expected type Double, found " + raw.get(6).getClass().getSimpleName());
|
||||
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
|
Reference in New Issue
Block a user