mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-16 09:29:49 +00:00
Suppress warnings about missing serialVersionUIDs for the whole project.
This commit is contained in:
parent
6d27f3aa4e
commit
95d0a31675
26 changed files with 27 additions and 0 deletions
|
@ -114,6 +114,7 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
|
|||
|
||||
private final XmlPullParserFactory parserFactory;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
private static class Context implements QueryTripsContext
|
||||
{
|
||||
private final String context;
|
||||
|
|
|
@ -103,6 +103,7 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
|
|||
private boolean stationBoardHasLocation = false;
|
||||
private boolean stationBoardCanDoEquivs = true;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
private static class Context implements QueryTripsContext
|
||||
{
|
||||
public final String laterContext;
|
||||
|
@ -127,6 +128,7 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
|
|||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public static class QueryTripsBinaryContext implements QueryTripsContext
|
||||
{
|
||||
public final String ident;
|
||||
|
|
|
@ -98,6 +98,7 @@ public abstract class AbstractNavitiaProvider extends AbstractNetworkProvider
|
|||
BUS, TRAIN, TRAM, TRAMWAY, METRO, FERRY, CABLECAR, RAPIDTRANSIT, FUNICULAR, DEFAULT_COMMERCIAL_MODE
|
||||
}
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
private static class Context implements QueryTripsContext
|
||||
{
|
||||
private final Location from;
|
||||
|
|
|
@ -34,6 +34,7 @@ import com.google.common.base.Objects;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public final class Departure implements Serializable
|
||||
{
|
||||
final public @Nullable Date plannedTime;
|
||||
|
|
|
@ -30,6 +30,7 @@ import com.google.common.base.Objects;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public final class Fare implements Serializable
|
||||
{
|
||||
public enum Type
|
||||
|
|
|
@ -29,6 +29,7 @@ import com.google.common.base.Objects;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public final class LineDestination implements Serializable
|
||||
{
|
||||
final public Line line;
|
||||
|
|
|
@ -32,6 +32,7 @@ import com.google.common.base.Objects;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public final class Location implements Serializable
|
||||
{
|
||||
public final LocationType type;
|
||||
|
|
|
@ -30,6 +30,7 @@ import com.google.common.base.MoreObjects.ToStringHelper;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public final class NearbyLocationsResult implements Serializable
|
||||
{
|
||||
public enum Status
|
||||
|
|
|
@ -24,6 +24,7 @@ import com.google.common.base.Objects;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public final class Point implements Serializable
|
||||
{
|
||||
public final int lat, lon;
|
||||
|
|
|
@ -29,6 +29,7 @@ import com.google.common.base.Objects;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public final class Position implements Serializable
|
||||
{
|
||||
public final String name;
|
||||
|
|
|
@ -31,6 +31,7 @@ import com.google.common.base.MoreObjects.ToStringHelper;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public final class QueryDeparturesResult implements Serializable
|
||||
{
|
||||
public enum Status
|
||||
|
|
|
@ -30,6 +30,7 @@ import com.google.common.base.MoreObjects.ToStringHelper;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public final class QueryTripsResult implements Serializable
|
||||
{
|
||||
public enum Status
|
||||
|
|
|
@ -30,6 +30,7 @@ import de.schildbach.pte.NetworkId;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public final class ResultHeader implements Serializable
|
||||
{
|
||||
public final NetworkId network;
|
||||
|
|
|
@ -31,6 +31,7 @@ import com.google.common.base.Objects;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public final class StationDepartures implements Serializable
|
||||
{
|
||||
public final Location location;
|
||||
|
|
|
@ -32,6 +32,7 @@ import com.google.common.base.Objects;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public final class Stop implements Serializable
|
||||
{
|
||||
public final Location location;
|
||||
|
|
|
@ -33,6 +33,7 @@ import com.google.common.base.MoreObjects.ToStringHelper;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public final class SuggestLocationsResult implements Serializable
|
||||
{
|
||||
public enum Status
|
||||
|
|
|
@ -26,6 +26,7 @@ import com.google.common.base.Objects;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public final class SuggestedLocation implements Serializable, Comparable<SuggestedLocation>
|
||||
{
|
||||
public final Location location;
|
||||
|
|
|
@ -26,6 +26,7 @@ import de.schildbach.pte.util.ParserUtils;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public abstract class AbstractHttpException extends ParserException
|
||||
{
|
||||
private final URL url;
|
||||
|
|
|
@ -23,6 +23,7 @@ import java.net.URL;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class BlockedException extends AbstractHttpException
|
||||
{
|
||||
public BlockedException(final URL url, final Reader errorReader)
|
||||
|
|
|
@ -23,6 +23,7 @@ import java.net.URL;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class InternalErrorException extends AbstractHttpException
|
||||
{
|
||||
public InternalErrorException(final URL url, final Reader errorReader)
|
||||
|
|
|
@ -20,6 +20,7 @@ package de.schildbach.pte.exception;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class InvalidDataException extends ParserException
|
||||
{
|
||||
public InvalidDataException()
|
||||
|
|
|
@ -23,6 +23,7 @@ import java.net.URL;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class NotFoundException extends AbstractHttpException
|
||||
{
|
||||
public NotFoundException(final URL url, final Reader errorReader)
|
||||
|
|
|
@ -22,6 +22,7 @@ import java.io.IOException;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class ParserException extends IOException
|
||||
{
|
||||
public ParserException()
|
||||
|
|
|
@ -22,6 +22,7 @@ import java.io.IOException;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class SessionExpiredException extends IOException
|
||||
{
|
||||
}
|
||||
|
|
|
@ -22,6 +22,7 @@ import java.net.URL;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class UnexpectedRedirectException extends AbstractHttpException
|
||||
{
|
||||
private final URL redirectedUrl;
|
||||
|
|
|
@ -26,6 +26,7 @@ import java.util.Locale;
|
|||
/**
|
||||
* @author Andreas Schildbach
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class Iso8601Format extends SimpleDateFormat
|
||||
{
|
||||
private Iso8601Format(final String formatString)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue