Use capital L for long literals.

This commit is contained in:
Andreas Schildbach 2019-10-29 09:17:05 +01:00
parent 697aae5ef6
commit 64c4b240fd
3 changed files with 4 additions and 4 deletions

View file

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