From d9098fc927a63ab8e41b0ebf768aa55279b2f3db Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Fri, 15 Aug 2014 19:01:09 +0200 Subject: [PATCH] Trip.Leg is supposed to be subclassed. --- enabler/src/de/schildbach/pte/dto/Trip.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enabler/src/de/schildbach/pte/dto/Trip.java b/enabler/src/de/schildbach/pte/dto/Trip.java index 20f31a8a..4b7002a8 100644 --- a/enabler/src/de/schildbach/pte/dto/Trip.java +++ b/enabler/src/de/schildbach/pte/dto/Trip.java @@ -204,7 +204,7 @@ public final class Trip implements Serializable return getId().hashCode(); } - public static class Leg implements Serializable + public abstract static class Leg implements Serializable { private static final long serialVersionUID = 8498461220084523265L;