mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-18 16:29:51 +00:00
Use capital L for long literals.
This commit is contained in:
parent
697aae5ef6
commit
64c4b240fd
3 changed files with 4 additions and 4 deletions
|
@ -187,7 +187,7 @@ public class DbProviderLiveTest extends AbstractProviderLiveTest {
|
|||
public void tripsInvalidDate() throws Exception {
|
||||
final Location from = new Location(LocationType.STATION, "8011160", null, "Berlin Hbf");
|
||||
final Location to = new Location(LocationType.STATION, "8010205", null, "Leipzig Hbf");
|
||||
final Date date = new Date(System.currentTimeMillis() - 2 * 365 * 24 * 3600 * 1000l); // 2 years ago
|
||||
final Date date = new Date(System.currentTimeMillis() - 2 * 365 * 24 * 3600 * 1000L); // 2 years ago
|
||||
final QueryTripsResult result = queryTrips(from, null, to, date, true, null);
|
||||
print(result);
|
||||
assertEquals(QueryTripsResult.Status.INVALID_DATE, result.status);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue