X-Git-Url: https://git.hedgecode.org/?p=snooker-score-api.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fhedgecode%2Fsnooker%2Fjson%2FJsonRankings.java;h=d00a814076cfe422bc607b8feb04c3fb4bfe7b91;hp=0cb9d5438f2fa38ba7217b9cb1d955becc8756e7;hb=2730133cd1f5b0f4d26b042c1171155797636929;hpb=cd2f8a9c9fea202a4edb2a475e1455ef879cd6a2 diff --git a/src/main/java/org/hedgecode/snooker/json/JsonRankings.java b/src/main/java/org/hedgecode/snooker/json/JsonRankings.java index 0cb9d54..d00a814 100644 --- a/src/main/java/org/hedgecode/snooker/json/JsonRankings.java +++ b/src/main/java/org/hedgecode/snooker/json/JsonRankings.java @@ -16,6 +16,7 @@ package org.hedgecode.snooker.json; +import java.io.Serializable; import java.util.ArrayList; import java.util.List; @@ -28,15 +29,17 @@ import org.hedgecode.snooker.compare.RankingComparators; * * @author Dmitry Samoshin aka gotty */ -public class JsonRankings extends JsonCollectionEntity implements Rankings { +public class JsonRankings extends JsonCollectionEntity implements Rankings, Serializable { + + private static final long serialVersionUID = -1765390719034378729L; private static final JsonRankings EMPTY = new JsonRankings(new Ranking[0]); - protected JsonRankings(Ranking[] entities) { + JsonRankings(Ranking[] entities) { super(entities); } - protected JsonRankings(List entities) { + JsonRankings(List entities) { super(entities); }