mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-15 09:00:36 +00:00
Fix missing serialVersionUIDs.
This commit is contained in:
parent
9527f34a2d
commit
eb533aafe0
5 changed files with 10 additions and 5 deletions
|
@ -30,7 +30,6 @@ import com.google.common.base.Objects;
|
||||||
/**
|
/**
|
||||||
* @author Andreas Schildbach
|
* @author Andreas Schildbach
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("serial")
|
|
||||||
public final class Fare implements Serializable
|
public final class Fare implements Serializable
|
||||||
{
|
{
|
||||||
public enum Type
|
public enum Type
|
||||||
|
@ -38,6 +37,8 @@ public final class Fare implements Serializable
|
||||||
ADULT, CHILD, YOUTH, STUDENT, MILITARY, SENIOR, DISABLED
|
ADULT, CHILD, YOUTH, STUDENT, MILITARY, SENIOR, DISABLED
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -6136489996930976421L;
|
||||||
|
|
||||||
public final String network;
|
public final String network;
|
||||||
public final Type type;
|
public final Type type;
|
||||||
public final Currency currency;
|
public final Currency currency;
|
||||||
|
|
|
@ -33,9 +33,10 @@ import com.google.common.base.Strings;
|
||||||
/**
|
/**
|
||||||
* @author Andreas Schildbach
|
* @author Andreas Schildbach
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("serial")
|
|
||||||
public final class Location implements Serializable
|
public final class Location implements Serializable
|
||||||
{
|
{
|
||||||
|
private static final long serialVersionUID = -2124775933106309127L;
|
||||||
|
|
||||||
public final LocationType type;
|
public final LocationType type;
|
||||||
public final @Nullable String id;
|
public final @Nullable String id;
|
||||||
public final int lat, lon;
|
public final int lat, lon;
|
||||||
|
|
|
@ -24,9 +24,10 @@ import com.google.common.base.Objects;
|
||||||
/**
|
/**
|
||||||
* @author Andreas Schildbach
|
* @author Andreas Schildbach
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("serial")
|
|
||||||
public final class Point implements Serializable
|
public final class Point implements Serializable
|
||||||
{
|
{
|
||||||
|
private static final long serialVersionUID = -256077054671402897L;
|
||||||
|
|
||||||
public final int lat, lon;
|
public final int lat, lon;
|
||||||
|
|
||||||
public Point(final int lat, final int lon)
|
public Point(final int lat, final int lon)
|
||||||
|
|
|
@ -29,9 +29,10 @@ import com.google.common.base.Objects;
|
||||||
/**
|
/**
|
||||||
* @author Andreas Schildbach
|
* @author Andreas Schildbach
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("serial")
|
|
||||||
public final class Position implements Serializable
|
public final class Position implements Serializable
|
||||||
{
|
{
|
||||||
|
private static final long serialVersionUID = 5800904192562764917L;
|
||||||
|
|
||||||
public final String name;
|
public final String name;
|
||||||
public final @Nullable String section;
|
public final @Nullable String section;
|
||||||
|
|
||||||
|
|
|
@ -32,9 +32,10 @@ import com.google.common.base.Objects;
|
||||||
/**
|
/**
|
||||||
* @author Andreas Schildbach
|
* @author Andreas Schildbach
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("serial")
|
|
||||||
public final class Stop implements Serializable
|
public final class Stop implements Serializable
|
||||||
{
|
{
|
||||||
|
private static final long serialVersionUID = 5034616799626145715L;
|
||||||
|
|
||||||
public final Location location;
|
public final Location location;
|
||||||
public final @Nullable Date plannedArrivalTime;
|
public final @Nullable Date plannedArrivalTime;
|
||||||
public final @Nullable Date predictedArrivalTime;
|
public final @Nullable Date predictedArrivalTime;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue